How to edit a commit message in PyCharm?

前端 未结 7 787
刺人心
刺人心 2021-02-07 02:40

In git there is a command git commit --amend to edit your last commit message. I was looking for this type of functionality in pycharm and can\'t seem to find it. I

相关标签:
7条回答
  • 2021-02-07 03:21

    The PyCharm commit dialog includes an Amend commit option which lets you add in further changes to the previous commit, and edit the commit message while you're at it.

    However I don't think there is a way to edit the previous commit message without making further file changes, because PyCharm will not let you commit if there are no file changes selected.

    For the moment I just drop down to the console and execute git commit --amend.

    0 讨论(0)
提交回复
热议问题