gpt4 book ai didi

eclipse - 在 Eclipse/EGit 中有没有办法编辑未推送/本地提交的提交消息?

转载 作者:IT王子 更新时间:2023-10-29 01:06:08 24 4
gpt4 key购买 nike

如何使用 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 的更多信息。

http://www.vogella.com/tutorials/EclipseGit/images/xegitamend10.png.pagespeed.ic.m-4qbTQTEv.png

99sono添加 in the comments :

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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com