使用IntelliJ修改git commit消息 [英] Using IntelliJ to amend git commit message
本文介绍了使用IntelliJ修改git commit消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以使用 IntelliJ
修改git提交消息,还是应该使用命令行?
Can one amend a git commit message using IntelliJ
, or should one resort to command line?
如何这可以吗?
推荐答案
支持修改:调用提交更改并选中修改提交复选框提交对话框。然后按提交按钮,提交将被修改为前一个。
Amend is supported: invoke "Commit Changes" and select the checkbox "Amend commit" in the Commit Dialog. Then press "Commit" button, and the commit will be amended to the previous one.
但是,支持是有限的:
- 如果您没有任何未提交的更改(例如,您),则无法看到正在修改的提交的详细信息,
- 只是想在不添加更多更改的情况下更改上一次提交的消息),您将无法调用提交。
这篇关于使用IntelliJ修改git commit消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文