Using IntelliJ to amend git commit message

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

    In JetBrains Go to View -> Version Control -> This would open the version control log tab to the bottom of the screen Go to Log and you can see the commit that you did last Right click on it, and select undo commit

    Bingo! You have reverted all your commit and the message is erased. You can also choose to do soft reset in case you only want to change the commit mesage

提交回复
热议问题