Changes between Version 13 and Version 14 of UsingGit
- Timestamp:
- 12/09/10 21:23:15 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsingGit
v13 v14 58 58 || svn commit || git commit / git push || in git, git commit commits locally, git push pushes to the upstream repo. Additionally, changes must be staged before committing. || 59 59 || ---- || git add -i / git add -p || stage commits || 60 || svn update || git pull || technically, this is two steps combined (git fetch, git merge) ||60 || svn update || git pull || technically, this is two steps combined (git fetch, git merge) git pull --rebase does a rebase instead of a merge || 61 61 || svn update (to recover a single file) || git checkout HEAD filename || || 62 62 || svn update (to recover all deleted files) || git ls-files -d | xargs git checkout -- || || 63 63 || svn copy (to create a branch) || git branch (or git checkout -b) || || 64 || svn copy (to create a tag) || git tag || ||64 || svn copy (to create a tag) || git tag -a || || 65 65 || svn switch || git checkout branch || || 66 66 || svn merge || git merge || ||
