我在Windows上使用git
,当我在命令提示符下使用commit
命令,我的记事本++打开了,并要求我把提交信息如下:如何使用Notepad ++在git commit消息中将标题与正文分开?
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Your branch is up-to-date with 'origin/master'.
这是伟大的,但我想能够将消息标题从其正文中分离出来。当我在#的上方写入提交消息时,它会像我使用commit -m
命令一样发送,即它只包含一个标题。
有人可以建议正确的方法能够使用Notepad ++在提交消息中将标题与正文分开吗?
编辑:这个问题是来自大约从标题隔离体在提交信息的其他问题不同,因为其他的问题,请问如何在命令行中做到这一点,而我问怎么用记事本++ 做到这一点。
的可能的复制[如何犯了两个命令行 “消息” 和 “说明” 的变化? ](https://stackoverflow.com/questions/16122234/how-to-commit-a-change-with-both-message-and-description-from-the-command-li) – altern