Changes between Version 8 and Version 9 of UsingGit
- Timestamp:
- 12/09/10 19:55:37 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsingGit
v8 v9 48 48 || ---- || git add -i / git add -p || stage commits || 49 49 || 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 -- || || 50 52 || svn copy (to create a branch) || git branch (or git checkout -b) || || 51 53 || svn copy (to create a tag) || git tag || || 52 54 || svn switch || git checkout branch || || 53 55 || 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 || || 55 58 56 59 Also, github has a wealth of good information.
