【发布时间】:2017-07-28 14:51:15
【问题描述】:
我在 Windows 上使用 git,当我在命令提示符下使用 commit 命令时,我的 Notepad++ 打开并要求我输入如下提交消息:
# 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++ 在提交消息中将标题与正文分开的正确方法吗?
编辑:这个问题与其他关于在提交消息中将正文与标题分开的问题不同,因为其他问题询问如何从命令行进行操作,而我询问如何使用记事本++ .
【问题讨论】:
标签: git version-control notepad++ commit git-commit