Your SlideShare is downloading. ×
0
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Git Basics Workshop Summer of Tech 2010
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Git Basics Workshop Summer of Tech 2010

607

Published on

Presentation about version control and Git. Workshop exercises at http://github.com/kuahyeow/git-workshop …

Presentation about version control and Git. Workshop exercises at http://github.com/kuahyeow/git-workshop

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
607
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Code Management: Git
  • 2. Thong Kuah <Thong.Kuah @ gmail.com>
  • 3. A Coders Carol presents
  • 4. Crash Dummy Coding http://www.flickr.com/photos/bugbbq/3853099883/sizes/l/
  • 5. New version
  • 6. Here's another change And another change
  • 7. I prefer the first one
  • 8. http://www.flickr.com/photos/jemimagibbons/3973603289/
  • 9. Hey! Success! http://www.flickr.com/photos/brajeshwar/378641553/
  • 10. Teamwork ? http://www.flickr.com/photos/ivanwalsh/3924222303/
  • 11. cat_generator.sh
  • 12. That's mine! Mine! http://www.flickr.com/photos/9588236@N02/1454642584/sizes/l/
  • 13. I know! cat_generator.bak cat_generator.backup_file cat_gen.do_not_delete cat_generator.alice.1 cat_generator.bob.2
  • 14. N^2 http://www.flickr.com/photos/seeminglee/2065927225/
  • 15. Marty McFly http://commons.wikimedia.org/wiki/File:BTTFTimelines.png
  • 16. http://www.flickr.com/photos/flying_cloud/2667225198/sizes/l/
  • 17. http://www.flickr.com/photos/torley/414120961/sizes/o/
  • 18. Fix it. http://commons.wikimedia.org/wiki/File:Software_spanner.png
  • 19. Who dunnit? http://www.flickr.com/photos/editor/3577065653/
  • 20. Where's the problem? http://www.flickr.com/photos/silvery/2414538926/
  • 21. Re-occurences
  • 22. http://www.flickr.com/photos/tveskov/3387394098/sizes/o/
  • 23. So, what do we need ?
  • 24. http://www.flickr.com/photos/mattwright/1787856/sizes/l/
  • 25. http://www.flickr.com/photos/clintjcl/2784231777/sizes/o/
  • 26. http://commons.wikimedia.org/wiki/File:Arrows-orphan.svg
  • 27. Version Control
  • 28. Version Control ● Storage ● Keeps multiple versions ● Handles changes from multiple sources
  • 29. Experiments Work with others Run multiple versions Deploy to production http://en.wikipedia.org/wiki/File:Revision_controlled_project_visualization-2010-24-02.svg
  • 30. Version Control Basics
  • 31. Basics ●You get code ●You change code ●You share your changes
  • 32. Basics ●You checkout ●You change code ●You commit
  • 33. Basics ● You checkout
  • 34. Checkout http://betterexplained.com/articles/a-visual-guide-to-version-control/
  • 35. Basics ●You checkout ●You change code
  • 36. Change code http://betterexplained.com/articles/a-visual-guide-to-version-control/ ...change file...
  • 37. Basics ●You checkout ●You change code ●You commit
  • 38. Commit http://betterexplained.com/articles/a-visual-guide-to-version-control/
  • 39. Again?
  • 40. Checkout http://betterexplained.com/articles/a-visual-guide-to-version-control/
  • 41. Change code http://betterexplained.com/articles/a-visual-guide-to-version-control/ ...change file...
  • 42. Commit http://betterexplained.com/articles/a-visual-guide-to-version-control/
  • 43. Every version is recorded http://betterexplained.com/articles/a-visual-guide-to-version-control/
  • 44. Every change is recorded http://betterexplained.com/articles/a-visual-guide-to-version-control/
  • 45. Basics (II) ●Others get your code ●Others change code ●You get new version
  • 46. Basics (II) ●Others checkout ●Others change code ●You update
  • 47. Basics (II) ●Others checkout ●Others change code ●You update ●And around it goes
  • 48. Sharing is good http://www.flickr.com/photos/ryanr/142455033/sizes/o/
  • 49. The full picture Tools & Practices
  • 50. Tools ●SVN ●Git ●Mercurial ●etc...
  • 51. Practice is up to you & your team http://www.flickr.com/photos/st3f4n/3752994778/ http://www.flickr.com/photos/ahnmyrrh/3633346069/
  • 52. Summary ●Version Control is a must ●Use best practice ●Use good tools ●Version control basics
  • 53. Further Information ● http://gitref.org/index.html ● http://progit.org/ ● SVN Red Book ● http://betterexplained.com/articles/a-visual- guide-to-version-control/ ● http://www.swc.scipy.org/lec/version.html
  • 54. Credits, Attribution ● http://www.flickr.com/photos/charlieferrari/49323751/sizes/o/ ● http://www.flickr.com/photos/nickwheeleroz/2475011402/sizes/l/ ● http://www.flickr.com/photos/herzogbr/2123789106/sizes/l/ ● http://www.flickr.com/photos/7506006@N07/513417996/in/set-72157600264508078/ ● http://www.flickr.com/photos/7506006@N07/513453021/ ● http://www.flickr.com/photos/mattwright/1787856/sizes/l/ ● http://www.flickr.com/photos/ryanr/142455033/sizes/o/ ● http://www.flickr.com/photos/rachelrusinski/533767098/sizes/o/ ● http://commons.wikimedia.org ● http://www.flickr.com/photos/missmirr/529688823/sizes/o/
  • 55. Questions? http://www.flickr.com/photos/gattomimmo/318700028/sizes/o/
  • 56. Git
  • 57. Git http://progit.org/book/ch1-3.html
  • 58. Workshop time Ask lots of questions
  • 59. http://github.com/ kuahyeow/git- workshop

×