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

288

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
288
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • What does it mean to be open source?\nGenerally anyone can view the source code and create their own versions of the software.\nPotentially you can contribute your improvements back to the author\n\n
  • \n
  • We don’t really care about distributed nature, but it is really cool.\n
  • You’ve all probably used some form of version control and it probably looked like this.\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • 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/
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×