Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Git, Jenkins & Chuck                Starcube                  Brno               25.9. 2012               Juraj Michálek  ...
Content           Git – Basics          Git – Advanced             Jenkins             Chuck?
Git - Basics        Initial release: 7. 4. 2005               Linus Torvalds
Heroku Toolbelt    All important tools in one package.       https://toolbelt.heroku.com/
TortoiseGit      http://code.google.com/p/tortoisegit/
Github           Social coding         http://github.com
Codeplex  Project Hosting for Open Source Software            http://codeplex.com
PF 2012     https://pf2012.codeplex.com/              Git Clone
Git Clone
Command line git clone https://git01.codeplex.com/pf2012
Fork       Fork remote repository
Git - Advanced            Concepts
Git      Remote repository      Local repository      Stage      Working area
Git - clone   Remote repository                       clone   Local repository   Stage   Working area
Git - add   Remote repository   Local repository   Stage                       add   Working area
Git - commit   Remote repository   Local repository                       commit   Stage   Working area
Git - push   Remote repository                       push   Local repository   Stage   Working area
Git – operations   Remote repository                       clone            push   Local repository                       ...
Configure     git config --global user.name "Juraj Michalek"git config --global user.email "juraj.michalek@gmail.com"
Initialize             git init
Where is git?                .git
Status?          git status
Git - add   Remote repository   Local repository   Stage                       add   Working area
Add              git add .      Everything in working dir.          git add filename
Status?          git status
Git - commit   Remote repository   Local repository                       commit   Stage   Working area
Commit     git commit -m „Initial commit“
Commit message    Short line summary – 50 characters.  Longer message: blank line and message        Keep it up to 72 char...
Commit message    Ticket ID/Bug system reference        Good and descriptive
Logs                git log       git log branch1..branch2
Branches             git branch       git branch newbranch       git checkout newbranch
Diff              git diff       git diff --color-words
Revert single file         git checkout – filename
Git - push   Remote repository                       push   Local repository   Stage   Working area
Connecting to remote      Cloned repos are connected.        git remote add origin url        git push -u origin master
Jenkins          http://jenkins-ci.org/
WarningUse path without spaces or special characters!This is wrong: C:Program Files (x86)Jenkins              Use: C:Jenkins
Upcoming SlideShare
Loading in …5
×
Upcoming SlideShare
Startup Camp - Git, Python, Django session
Next
Download to read offline and view in fullscreen.

0

Share

Download to read offline

Git, Jenkins & Chuck

Download to read offline

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

Related Books

Free with a 30 day trial from Scribd

See all
  • Be the first to like this

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

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

Views

Total views

1,868

On Slideshare

0

From embeds

0

Number of embeds

838

Actions

Downloads

7

Shares

0

Comments

0

Likes

0

×