Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要测试 redmine 的一个特性,我必须在提交消息中添加某些密钥,问题是我进行了合并并且 git 快进了它,所以现在我如何在该提交消息中附加一些东西?
如果这是您最近的提交,只需使用git commit --amend.
git commit --amend
如果没有,请使用git rebase -i
git rebase -i