2014-02-22 41 views
0

我有一个干净的工作git(-svn)存储库与很多新的提交。让我们把这个'原始'状态标记出来。如何修复'git svn rebase'后的git messup?

然后我做了一个git svn rebase这给了很多的冲突和抉择:

When you have resolved this problem run "git rebase --continue". 
If you would prefer to skip this patch, instead run "git rebase --skip". 
To check out the original branch and stop rebasing run "git rebase --abort". 

此外,所有我做的提交都不见了(即git log)不告诉他们了。

我怎样才能达到上述“原始”状态?即在我输入命令git svn rebase之前,我一直处于状态?我不太明白什么是提到选择真正的意思是......

+0

'git rebase --abort'? – 2014-02-22 09:28:08

+0

只是混帐rebase或git svn rebase? – Alex

+1

'git rebase --abort',这会中止rebase。 – 2014-02-22 09:32:16

回答

1

不要作为帮助文本建议:

git rebase --abort 

这将返回到状态变基开始之前。