Using IntelliJ to amend git commit message

前端 未结 9 1091
我寻月下人不归
我寻月下人不归 2020-12-02 11:03

Can one amend a git commit message using IntelliJ, or should one resort to command line?

How can this be done please?

9条回答
  •  渐次进展
    2020-12-02 11:39

    Commit messages can be edited during a rebase. Invoke the Rebase command from the VCS menu, confirm the branch settings, then click the Rebase button. You'll be presented with a list of your unpushed commits. Choose the reword action from the drop-down to the left of the message you want to edit.

    Check the git doc on Rewriting History for details on other rebase actions.

提交回复
热议问题