commit5 master
commit4
commit3
commit2 git-svn
commit1
如果是这种情况,git-svn
就是svn所在的地方。如果我想只推送提交 3 而不推送提交 4 和 5,我该如何实现?
git svn dcommit --interactive
无济于事。如果我对提交 4 说不,它就会停止
那么它稍后应该看起来像:
commit5 master
commit4
commit3 git-svn
commit2
commit1
好吧,这很简单。
git checkout commmit3
git svn dcommit
git checkout master
git svn rebase