This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
coding:version_control:git-svn [2008/11/30 14:38] 127.0.0.1 external edit |
coding:version_control:git-svn [2013/08/20 22:52] (current) |
||
---|---|---|---|
Line 16: | Line 16: | ||
^ SVN ^ GIT ^ Notes ^ | ^ SVN ^ GIT ^ Notes ^ | ||
| svn up | git rebase | Only applicable when merging to/from other local branches | | | svn up | git rebase | Only applicable when merging to/from other local branches | | ||
- | | svn commit | git commit | | | + | | svn commit | '' |
| svn log --limit={N} | git log -n{N} | | | | svn log --limit={N} | git log -n{N} | | | ||
| svn blame | git blame | | | | svn blame | git blame | | | ||
| svn info | - | N/A for local GIT | | | svn info | - | N/A for local GIT | | ||
| svn checkout | git clone | | | | svn checkout | git clone | | | ||
+ | | svn cat | git show < | ||
+ | | svn status | git status | | | ||
===== Interacting with a remote GIT archive ===== | ===== Interacting with a remote GIT archive ===== | ||
^ SVN ^ GIT ^ Notes ^ | ^ SVN ^ GIT ^ Notes ^ | ||
| svn up | git pull {URL} | Must provide URL. Can create URL aliases, see " | | svn up | git pull {URL} | Must provide URL. Can create URL aliases, see " | ||
- | | svn commit | git commit | | | + | | svn commit | git commit |
- | | svn log --limit={N} | - | Don't know yet. :-| | | + | | svn log --limit={N} | git log remotes/ |
| svn blame | git blame | | | | svn blame | git blame | | | ||
| svn info | git remote show origin | Assuming '' | | svn info | git remote show origin | Assuming '' | ||
| svn checkout | git clone | | | | svn checkout | git clone | | | ||