Changes between Version 13 and Version 14 of UsingGit


Ignore:
Timestamp:
12/09/10 21:23:15 (15 years ago)
Author:
Janne Grunau
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsingGit

    v13 v14  
    5858|| 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. ||
    5959|| ---- || 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 ||
    6161|| svn update (to recover a single file) || git checkout HEAD filename || ||
    6262|| svn update (to recover all deleted files) || git ls-files -d | xargs git checkout -- || ||
    6363|| 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 || ||
    6565|| svn switch || git checkout branch ||  ||
    6666|| svn merge || git merge || ||