Git, Jenkins & Chuck

1,560 views
1,430 views

Published on

Slides for Starcube members - autumn 2012. Talking about git basics and little bit advanced git topics. The last part is about Jenkins.

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
1,560
On SlideShare
0
From Embeds
0
Number of Embeds
776
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Git, Jenkins & Chuck

  1. 1. Git, Jenkins & Chuck Starcube Brno 25.9. 2012 Juraj Michálek http://georgik.sinusgear.com http://twitter.com/sinusgear
  2. 2. Content Git – Basics Git – Advanced Jenkins Chuck?
  3. 3. Git - Basics Initial release: 7. 4. 2005 Linus Torvalds
  4. 4. Heroku Toolbelt All important tools in one package. https://toolbelt.heroku.com/
  5. 5. TortoiseGit http://code.google.com/p/tortoisegit/
  6. 6. Github Social coding http://github.com
  7. 7. Codeplex Project Hosting for Open Source Software http://codeplex.com
  8. 8. PF 2012 https://pf2012.codeplex.com/ Git Clone
  9. 9. Git Clone
  10. 10. Command line git clone https://git01.codeplex.com/pf2012
  11. 11. Fork Fork remote repository
  12. 12. Git - Advanced Concepts
  13. 13. Git Remote repository Local repository Stage Working area
  14. 14. Git - clone Remote repository clone Local repository Stage Working area
  15. 15. Git - add Remote repository Local repository Stage add Working area
  16. 16. Git - commit Remote repository Local repository commit Stage Working area
  17. 17. Git - push Remote repository push Local repository Stage Working area
  18. 18. Git – operations Remote repository clone push Local repository commit Stage add Working area
  19. 19. Configure git config --global user.name "Juraj Michalek"git config --global user.email "juraj.michalek@gmail.com"
  20. 20. Initialize git init
  21. 21. Where is git? .git
  22. 22. Status? git status
  23. 23. Git - add Remote repository Local repository Stage add Working area
  24. 24. Add git add . Everything in working dir. git add filename
  25. 25. Status? git status
  26. 26. Git - commit Remote repository Local repository commit Stage Working area
  27. 27. Commit git commit -m „Initial commit“
  28. 28. Commit message Short line summary – 50 characters. Longer message: blank line and message Keep it up to 72 characters.
  29. 29. Commit message Ticket ID/Bug system reference Good and descriptive
  30. 30. Logs git log git log branch1..branch2
  31. 31. Branches git branch git branch newbranch git checkout newbranch
  32. 32. Diff git diff git diff --color-words
  33. 33. Revert single file git checkout – filename
  34. 34. Git - push Remote repository push Local repository Stage Working area
  35. 35. Connecting to remote Cloned repos are connected. git remote add origin url git push -u origin master
  36. 36. Jenkins http://jenkins-ci.org/
  37. 37. WarningUse path without spaces or special characters!This is wrong: C:Program Files (x86)Jenkins Use: C:Jenkins

×