常用的svn与Git命令对比如下:
svnadmin create ------------------------------> git init
svn co ------------------------------> git clone
svn update ------------------------------> git pull
svn add ------------------------------> git add
svn commit ------------------------------> git add, git commit
svn status ------------------------------> git status
svn switch <branch> ------------------------> git checkout <branch>
svn merge <branch> ------------------------> git merge <branch>
svn revert <file> ------------------------------> git checkout <file>
以下是全部的对比: