Your SlideShare is downloading. ×
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
Gug #1 - Introduction to git
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

Gug #1 - Introduction to git

812

Published on

Published in: Technology, Business
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
812
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
1
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. Git user group #1 Introduction to gitMarc-Antoine Perennou Clever Cloud
  • 2. Who I am Marc-Antoine Perennou - Marc-Antoine@Perennou.com marc-antoine.perennou@clever-cloud.com http://clever-cloud.com/ @Keruspe on twitter and identi.ca http://github.com/Keruspe Keruspe Git user group #1
  • 3. The (D)VCS concept What is a Version Control System ? Keruspe Git user group #1
  • 4. The (D)VCS concept What is a Version Control System ? Why must you use one if you do not do so already ? Keruspe Git user group #1
  • 5. The (D)VCS concept What is a Version Control System ? Why must you use one if you do not do so already ? Why should you consider using or switching to a Distributed VCS ? VCS VS DVCS Keruspe Git user group #1
  • 6. The origin of Git The creation of git Linux development constraints (Too many developers, thousands per year) First release: 2005 Keruspe Git user group #1
  • 7. The origin of Git The creation of git Linux development constraints (Too many developers, thousands per year) First release: 2005 The origin of its name Keruspe Git user group #1
  • 8. The origin of Git The creation of git Linux development constraints (Too many developers, thousands per year) First release: 2005 The origin of its name The evolution/complexification and usage simplification of git Keruspe Git user group #1
  • 9. Creating a repository One command: git init This command creates the basic files needed by git into a subdirectory named ”.git” Keruspe Git user group #1
  • 10. Basic usage 6 mandatory commands : git init git clone git add git commit git push git pull With those commands (and eventually git remote), you can act with git at least like you acted with SVN (for example) Keruspe Git user group #1
  • 11. Git server side Introduction to github Keruspe Git user group #1
  • 12. Git server side Introduction to github Demonstration: sharing this presentation on github Keruspe Git user group #1
  • 13. Git server side Introduction to github Demonstration: sharing this presentation on github For your company: gitolite Keruspe Git user group #1
  • 14. Git server side Introduction to github Demonstration: sharing this presentation on github For your company: gitolite Git with non-git backend Keruspe Git user group #1
  • 15. Some usefull basics Explanations on the tracking system Keruspe Git user group #1
  • 16. Some usefull basics Explanations on the tracking system Configuration Keruspe Git user group #1
  • 17. Some usefull basics Explanations on the tracking system Configuration Editing the last commit Keruspe Git user group #1
  • 18. Some usefull basics Explanations on the tracking system Configuration Editing the last commit Cleaning a working tree Keruspe Git user group #1
  • 19. Branching Three commands: git branch git checkout git merge Keruspe Git user group #1
  • 20. Advanced usage Rebasing with git rebase / git pull –rebase Keruspe Git user group #1
  • 21. Advanced usage Rebasing with git rebase / git pull –rebase Patching with git format-patch and git am Keruspe Git user group #1
  • 22. Advanced usage Rebasing with git rebase / git pull –rebase Patching with git format-patch and git am Backporting with git cherry-pick for maintainance Keruspe Git user group #1
  • 23. Advanced usage Rebasing with git rebase / git pull –rebase Patching with git format-patch and git am Backporting with git cherry-pick for maintainance Debugging with git bisect Keruspe Git user group #1
  • 24. Advanced usage Rebasing with git rebase / git pull –rebase Patching with git format-patch and git am Backporting with git cherry-pick for maintainance Debugging with git bisect Tagging releases Keruspe Git user group #1
  • 25. Advanced usage Rebasing with git rebase / git pull –rebase Patching with git format-patch and git am Backporting with git cherry-pick for maintainance Debugging with git bisect Tagging releases Blaming colleagues Keruspe Git user group #1
  • 26. Demos Failing merge Keruspe Git user group #1
  • 27. Demos Failing merge Successfull merge Keruspe Git user group #1
  • 28. Demos Failing merge Successfull merge paludis patches Keruspe Git user group #1
  • 29. Demos Failing merge Successfull merge paludis patches play patches Keruspe Git user group #1
  • 30. Demos Failing merge Successfull merge paludis patches play patches Backporting changes Keruspe Git user group #1

×