Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Git for the Uninitiated

Git for the Uninitiated

A presentation delivered by Matthew McCullough at DevNexus 2013 in Atlanta, GA, USA.

Matthew McCullough

February 18, 2013
Tweet

More Decks by Matthew McCullough

Other Decks in Programming

Transcript

  1. Matthew.... @matthewmccull ‣Open source contributor ‣O'Reilly Git Video Co-instructor ‣Co-Author

    of O'Reilly's Git book ‣5-year Git trainer ‣Instructor at GitHub
  2. # Legacy project tree $ cd existingproject $ git init

    # Add all the code $ git add . $ git commit -m”Initial import”
  3. tree tree: 7e8b1 web blob: 9ab16 index.html a10b3 tree blob:

    8d162 logo.jpg blob: 51d22 draw.js 7e8b1 commit tree: a10b3 parent: nil author: Fird committer: Matthew message: Major refactoring of the web content. c67db blob <html> <body></body> </html> 9ab16 blob //Some more javascript var renderSize 51d22 blob 7D 8D B3 7F BD 12 9F E9 7B 78 9D 3F 5C A6 72 CB 8d162
  4. v1 v2 v3 v4 File A File B File C

    File A File B File B File C v5 File A File B File B File A File A File C File C File C
  5. Certified Repo Development Repo n t e g r a

    t i o n M a n a g e d Continuous Integration Server
  6. C u s t o m + P u b

    l i c C o n t r i b Customized ☚ Private Public ☛ GitHub
  7. Mirror Development Repo M i r r o r e

    d Mirror Certified Repo
  8. data from http://whygitisbetterthanx.com/#git-is-fast git svn Init git svn Status git

    svn Diff git svn Tag git svn Log git svn Commit (Lg) git svn Commit (Sm) git c svn c Branch Speed
  9. "This is so important, we can't entrust it to automation.

    We need our top developer to supervise it."
  10. I'm an egotistical bastard, and I name all my projects

    after myself. First Linux, now git. -Linus Torvalds “ Credits: Martin Streicher, http://en.wikipedia.org/wiki/File:Linus_Torvalds.jpeg
  11. Q&A