Changes between Version 8 and Version 9 of UsingGit


Ignore:
Timestamp:
12/09/10 19:55:37 (15 years ago)
Author:
tralph
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsingGit

    v8 v9  
    4848|| ---- || git add -i / git add -p || stage commits ||
    4949|| svn update || git pull || technically, this is two steps combined (git fetch, git merge) ||
     50|| svn update (to recover a single file) || git checkout HEAD filename || ||
     51|| svn update (to recover all deleted files) || git ls-files -d | xargs git checkout -- || ||
    5052|| svn copy (to create a branch) || git branch (or git checkout -b) || ||
    5153|| svn copy (to create a tag) || git tag || ||
    5254|| svn switch || git checkout branch ||  ||
    5355|| svn merge || git merge || ||
    54 || svn revert || git checkout /path/to/file or git reset /path/to/file or git reset --hard (for pristine index and working copy) || ||
     56|| svn revert || git checkout /path/to/file or git reset /path/to/file || ||
     57|| svn revert (for pristine index and working copy) || git reset --hard || ||
    5558
    5659Also, github has a wealth of good information.