如何使用 Eclipse/EGit 编辑我在本地进行但尚未推送到存储库的提交的提交消息?
最佳答案
那将是 Amending Commits 的“EGit User Guide ”部分:
open the Staging View or Commit Dialog again and select the option Amend previous commit in the toolbar.
另见 this tutorial :
Git amend allows to adjust the last commit.
For example you can change the commit message.
The Git Staging view allows you to perform the Git amend command via the highlighted button in the following screenshot.
在“The git commit --amend
Command”中查看有关 git commit --amend
的更多信息。
I use:
Team Synchronizing Prespective
>History View
>Modify
(submenu) >Reword
.
Finally this opens a popup where I can edit the old commit message.
参见“Add ability to reword and squash commits directly from the history view”
关于eclipse - 在 Eclipse/EGit 中有没有办法编辑未推送/本地提交的提交消息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21475844/