Using IntelliJ to amend git commit message

前端 未结 9 1124
我寻月下人不归
我寻月下人不归 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:14

    You can also go to your git folder with a terminal and shell like powershell, cmd or bash (depends on your system), and then type:

    git commit --amend -m "your new commit message"
    

提交回复
热议问题