2. Git?
• Really fast regardless of project size
• Extremely flexible
• Distributed
3. Distribution
• How does it work?
• Why use a distributed SCM?
• Distribution and workflow
4. What can Git do that SVN doesn’t?
• Branching
• Merging
• Tagging
• Remotes
• Altering
• Use network efficiently
5. Moving from SVN to Git
Action SVN Git
Create a new repository svnadmin create git init
Using an existing repository svn checkout git clone
git commit
Commit your changes svn commit git push
Add files svn add git add
Delete files svn delete git rm
Get updates from others svn update git pull
6. What else we can git?
Modify last commit git commit --amend
Find a revision that introduced a specific bug git bisect
Undo last commit git reset
Quickly switch between tasks git stash
Add another remote git remote add
Modify previous commits git rebase