就是已经创建好了的GIT仓库,提交了若干多次了。现在突然要向另一个SVN仓库中提交的情况。基本步骤如下:
cd /path/to/repo
git svn init svn版本库路径
git svn fetch
git rebase –onto remotes/git-svn –root master
git dcommit
就是已经创建好了的GIT仓库,提交了若干多次了。现在突然要向另一个SVN仓库中提交的情况。基本步骤如下:
cd /path/to/repo
git svn init svn版本库路径
git svn fetch
git rebase –onto remotes/git-svn –root master
git dcommit