Git    Dan Miller    @jazzdandan@danielsmiller.com
Code as CraftThe construction of software should be an engineering  discipline. However, this doesn’t preclude individual ...
What is Git?     Git is an open source,  distributed version controlsystem designed for speed and            efficiency
What is Git?   Git is an open source,  distributed version controlsystem designed for speed and           efficiency
git-scm.com
What is Git?     Git is an open source,distributed version controlsystem designed for speed and            efficiency
What is Git?     Git is an open source,distributed version control system designed for speed          and efficiency
Version Control• myfile_v1.txt works• Until you get to myfile_v42.txt
Version Control• Wouldn’t it be great if there existed a  system that would track our versions for  us?!• Sounds great, ho...
Create a Repository      git init
Do Stuff
Add New Filesgit add myAwesomeFile.js
Commit changes    (to those files)  git commit
Let’s give it a shot
What happened?          working directorygit addgit addgit add               index                              git commit...
Git  Cares about         Doesn’t care about Tracked changes          Anything elseCommitted changes                       ...
But...• Using command line interface (CLI) sucks • False!• I use Windows! My CLI sucks! • Well, true.
Solution
Solution
GitHub for Linux
Install• Windows: Exe file• Mac: DMG Image• Linux: apt-get, rpm install, build from source
Create a Repository
Create a Repository
Add a File
Add a File
Add a File
Check out GitHub
Change a File
Change a File
Change a File
Now Check out   GitHub
Much More to Learn• https://help.github.com/• http://git-scm.com• http://hoth.entp.com/output/  git_for_designers.html• ht...
Upcoming SlideShare
Loading in …5
×

Git

404 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Git

  1. 1. Git Dan Miller @jazzdandan@danielsmiller.com
  2. 2. Code as CraftThe construction of software should be an engineering discipline. However, this doesn’t preclude individual craftsmanship. Think about the large cathedrals built in Europe during the Middle Ages. Each tookthousands of person-years of effort, spread over many decades. Lessons learned were passed down to the next set of builders, who advanced the state of structural engineering with their accomplishments. But the carpenters, stonecutters, carvers, and glass workers were all craftspeople, interpreting the engineering requirements to produce a whole that transcended the purely mechanical side of the construction. It was their belief in their individual contributions that sustained the projects: We who cut mere stones must always be envisioning cathedrals. (Quarry worker’s creed).
  3. 3. What is Git? Git is an open source, distributed version controlsystem designed for speed and efficiency
  4. 4. What is Git? Git is an open source, distributed version controlsystem designed for speed and efficiency
  5. 5. git-scm.com
  6. 6. What is Git? Git is an open source,distributed version controlsystem designed for speed and efficiency
  7. 7. What is Git? Git is an open source,distributed version control system designed for speed and efficiency
  8. 8. Version Control• myfile_v1.txt works• Until you get to myfile_v42.txt
  9. 9. Version Control• Wouldn’t it be great if there existed a system that would track our versions for us?!• Sounds great, how does it work?
  10. 10. Create a Repository git init
  11. 11. Do Stuff
  12. 12. Add New Filesgit add myAwesomeFile.js
  13. 13. Commit changes (to those files) git commit
  14. 14. Let’s give it a shot
  15. 15. What happened? working directorygit addgit addgit add index git commit repository
  16. 16. Git Cares about Doesn’t care about Tracked changes Anything elseCommitted changes ... seriously (finalized)
  17. 17. But...• Using command line interface (CLI) sucks • False!• I use Windows! My CLI sucks! • Well, true.
  18. 18. Solution
  19. 19. Solution
  20. 20. GitHub for Linux
  21. 21. Install• Windows: Exe file• Mac: DMG Image• Linux: apt-get, rpm install, build from source
  22. 22. Create a Repository
  23. 23. Create a Repository
  24. 24. Add a File
  25. 25. Add a File
  26. 26. Add a File
  27. 27. Check out GitHub
  28. 28. Change a File
  29. 29. Change a File
  30. 30. Change a File
  31. 31. Now Check out GitHub
  32. 32. Much More to Learn• https://help.github.com/• http://git-scm.com• http://hoth.entp.com/output/ git_for_designers.html• http://www-cs-students.stanford.edu/ ~blynn/gitmagic/

×