网上搜来的解决方法。原理不大明白。
注意第2步一定要能取得新提交才行。
1 Edit the svn-remote url URL in .git/config to point to the new domain name
2 Run git svn fetch – This needs to fetch at least one new revision from svn!
3 Change svn-remote url back to the original url
4 Run git svn rebase -l to do a local rebase (with the changes that came in with the last fetch operation)
5 Change svn-remote url back to the new url
6 Run git svn rebase should now work again!
------------------------------------------------
安装TortoiseGit,还需要安装git-gui才能用。
阅读(1915) | 评论(0) | 转发(0) |