首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >使用` `git rebase`更改旧提交消息

使用` `git rebase`更改旧提交消息
EN

Stack Overflow用户
提问于 2009-12-11 06:16:14
回答 3查看 156.9K关注 0票数 177

我正在尝试编辑一个旧的提交消息,正如here所解释的那样。

问题是,现在,当我尝试运行rebase -i HEAD~5时,它显示的是interactive rebase already started

于是我尝试了:git rebase --continue,但得到了这个错误:

代码语言:javascript
复制
error: Ref refs/heads/master is at 7c1645b447a8ea86ee143dd08400710c419b945b but expected c7577b53d05c91026b9906b6d29c1cf44117d6ba
fatal: Cannot lock the ref 'refs/heads/master'.

有什么想法吗?

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/1884474

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档