【发布时间】:2010-12-25 11:07:05
【问题描述】:
我试图按照here 的说明编辑旧的提交消息。
问题是现在,当我尝试运行 rebase -i HEAD~5 时,它会显示 interactive rebase already started。
然后我尝试:git rebase --continue 但收到此错误:
error: Ref refs/heads/master is at 7c1645b447a8ea86ee143dd08400710c419b945b but expected c7577b53d05c91026b9906b6d29c1cf44117d6ba
fatal: Cannot lock the ref 'refs/heads/master'.
有什么想法吗?
【问题讨论】:
-
用户被告知在此处添加问题内容,而不是在链接中。原因之一是这些链接迟早会失效。链接schacon.github.com/history.html 不再有效。
标签: git repository rebase git-rebase