提交 88a15314 编写于 作者: M Martin Waitz 提交者: Junio C Hamano

Add instructions to commit template.

New users can be irritated by the git status text in their editor.
Let's give them a short help.
Signed-off-by: NMartin Waitz <tali@admingilde.org>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 fa0f02df
...@@ -626,6 +626,9 @@ fi ...@@ -626,6 +626,9 @@ fi
if test -z "$no_edit" if test -z "$no_edit"
then then
{ {
echo ""
echo "# Please enter the commit message for your changes."
echo "# (Comment lines starting with '#' will not be included)"
test -z "$only_include_assumed" || echo "$only_include_assumed" test -z "$only_include_assumed" || echo "$only_include_assumed"
run_status run_status
} >>"$GIT_DIR"/COMMIT_EDITMSG } >>"$GIT_DIR"/COMMIT_EDITMSG
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册