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

git init

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.
Avatar for Ralph Ralph
June 17, 2015

git init

Work together from anywhere to build the good stuff!

Avatar for Ralph

Ralph

June 17, 2015
Tweet

Other Decks in Technology

Transcript

  1. TOTALLY SCIENTIFIC VERSION CONTROL PAIN SCALE git m ercurial bazaar

    suberversion
 (svn) concurrent
 version 
 system (cvs) perforce visual
 source
 safe PAIN Version Control
  2. TOTALLY SCIENTIFIC VERSION CONTROL PAIN SCALE git m ercurial bazaar

    suberversion
 (svn) concurrent
 version 
 system (cvs) perforce visual
 source
 safe PAIN Version Control
  3. TOTALLY SCIENTIFIC VERSION CONTROL PAIN SCALE git m ercurial bazaar

    suberversion
 (svn) concurrent
 version 
 system (cvs) perforce visual
 source
 safe PAIN Not that bad Version Control
  4. TOTALLY SCIENTIFIC VERSION CONTROL PAIN SCALE git m ercurial bazaar

    suberversion
 (svn) concurrent
 version 
 system (cvs) perforce visual
 source
 safe PAIN Not that bad Version Control
  5. TOTALLY SCIENTIFIC VERSION CONTROL PAIN SCALE git m ercurial bazaar

    suberversion
 (svn) concurrent
 version 
 system (cvs) perforce visual
 source
 safe PAIN Not that bad Please, just let me die Version Control
  6. Distributed fast every clone is a backup work offline push

    when you have network Everything* is local
  7. “Git’s idea of a “working copy” is very different from

    the working copy you get by checking out code from an SVN repository. Unlike SVN, Git makes no distinction between the working copy and the central repository—they are all full- fledged Git repositories.” Everything* is local
  8. “Git’s idea of a “working copy” is very different from

    the working copy you get by checking out code from an SVN repository. Unlike SVN, Git makes no distinction between the working copy and the central repository—they are all full- fledged Git repositories.” https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-clone Everything* is local
  9. SVN MODEL “the only thing SVN client is able to

    do is compare your files with the latest revision and send this diff to the server” (http://hades.name/blog/2010/01/17/git-your-friend-not-foe/)
  10. GIT MODEL ‘the concept of “central repository” may be eliminated

    altogether’ (http://hades.name/blog/2010/01/17/git-your-friend-not-foe/)
  11. DONE. You just cloned a project with its entire history

    backed up inside ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡
  12. commit/review You can use this hash to refer to this

    specific commit in the future (if you’re so inclined)
  13. commit/review You can use this hash to refer to this

    specific commit in the future (if you’re so inclined)
  14. commit/review You can use this hash to refer to this

    specific commit in the future (if you’re so inclined)
  15. commit/review You can use this hash to refer to this

    specific commit in the future (if you’re so inclined) there’s that hash ref again
  16. commit/review You can use this hash to refer to this

    specific commit in the future (if you’re so inclined)
  17. commit/review You can use this hash to refer to this

    specific commit in the future (if you’re so inclined) Show the difference between where we are and up 1 revision (^) in the staging area
  18. (review, then) push changes You can use this hash to

    refer to this specific commit in the future (if you’re so inclined)
  19. (review, then) push changes You can use this hash to

    refer to this specific commit in the future (if you’re so inclined) Local copy knows you’re ahead of its concept of the remote repo
  20. (review, then) push changes You can use this hash to

    refer to this specific commit in the future (if you’re so inclined)
  21. (review, then) push changes You can use this hash to

    refer to this specific commit in the future (if you’re so inclined) Nothing more to commit since last we checked (you haven’t done anything more locally)
  22. push changes You can use this hash to refer to

    this specific commit in the future (if you’re so inclined)
  23. push changes You can use this hash to refer to

    this specific commit in the future (if you’re so inclined)
  24. push changes You can use this hash to refer to

    this specific commit in the future (if you’re so inclined)
  25. push changes You can use this hash to refer to

    this specific commit in the future (if you’re so inclined)
  26. WHO? 2007: Linux Development community ~2009: Most popular source control

    mechanism for open source projects Most popular for all projects 2014
  27. WHO? Usage % 0 15 30 45 60 2009 2010

    2011 2012 2013 2014 GIT SVN
  28. WHO? Usage % 0 15 30 45 60 2009 2010

    2011 2012 2013 2014 GIT SVN Based on The Eclipse Community Survey, 2009 — 2014 Source: http://programmers.stackexchange.com/questions/136079/are-there-any-statistics-that-show- the-popularity-of-git-versus-svn