Version Control with   Git & GitHub       Belén Albeza       @ladybenko
1.Version control
What is version  control?
What is version     control?It’s the management of         changes
version 1   version 2   version 3
• A version control system stores the  increments between versions• So we can check the evolution of our  document set• An...
Why is this useful?• We can code without fear of screwing up  and not being able to go back to a stable  estate• We can tr...
But there’s more...
But there’s more...  Collaborative  development
We can share changesbetween developers      Pics from pixelblock.tumblr.com
This is great!• Several people can work in the same code,  remotely• You can work on your code from multiple  machines• Ve...
II. Brief intro to Git
Git“Git is an extremely fast, efficient, distributedversion control system ideal for thecollaborative development of softwa...
GitHub     GitHub provides free public Gitrepositories, so your code will be online. It    also provides a graphic Git cli...
Create a repo (1)
Create a repo (2)
Make some changes
Commit your changes
Make some morechanges and commit       again
Check history
Check history
Check history
Check history
Push your changes to      GitHub
Push your changes to      GitHub
Push your changes to      GitHub
Flow   Init repo Change codeCommit changes     Sync
To continue from          here...• Setup instructions: http://help.github.com/  articles/set-up-git• Learn how to solve co...
Thanks!?
Version control with Git & GitHub
Upcoming SlideShare
Loading in …5
×

Version control with Git & GitHub

801 views

Published on

Slides for the talk at Ladies Who Code (London)

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

No Downloads
Views
Total views
801
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
22
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Version control with Git & GitHub

  1. 1. Version Control with Git & GitHub Belén Albeza @ladybenko
  2. 2. 1.Version control
  3. 3. What is version control?
  4. 4. What is version control?It’s the management of changes
  5. 5. version 1 version 2 version 3
  6. 6. • A version control system stores the increments between versions• So we can check the evolution of our document set• And we can roll back to any previous state
  7. 7. Why is this useful?• We can code without fear of screwing up and not being able to go back to a stable estate• We can track the changes and locate where we introduced that new nasty bug• We can share different versions of our code
  8. 8. But there’s more...
  9. 9. But there’s more... Collaborative development
  10. 10. We can share changesbetween developers Pics from pixelblock.tumblr.com
  11. 11. This is great!• Several people can work in the same code, remotely• You can work on your code from multiple machines• Version control makes integrating changes easy
  12. 12. II. Brief intro to Git
  13. 13. Git“Git is an extremely fast, efficient, distributedversion control system ideal for thecollaborative development of software”from GitHub.com
  14. 14. GitHub GitHub provides free public Gitrepositories, so your code will be online. It also provides a graphic Git client! www.github.com
  15. 15. Create a repo (1)
  16. 16. Create a repo (2)
  17. 17. Make some changes
  18. 18. Commit your changes
  19. 19. Make some morechanges and commit again
  20. 20. Check history
  21. 21. Check history
  22. 22. Check history
  23. 23. Check history
  24. 24. Push your changes to GitHub
  25. 25. Push your changes to GitHub
  26. 26. Push your changes to GitHub
  27. 27. Flow Init repo Change codeCommit changes Sync
  28. 28. To continue from here...• Setup instructions: http://help.github.com/ articles/set-up-git• Learn how to solve conflicts• Get to know about Git philosophy on branches• Get a shell!
  29. 29. Thanks!?

×