From: Martin Waitz Date: Thu, 25 May 2006 23:42:18 +0000 (+0200) Subject: Add instructions to commit template. X-Git-Tag: v1.4.0-rc1~62 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=88a1531435b4cb565d290ed5146352beda52206c;p=git.git 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: Martin Waitz Signed-off-by: Junio C Hamano --- diff --git a/git-commit.sh b/git-commit.sh index 6785826fe..1983d4582 100755 --- a/git-commit.sh +++ b/git-commit.sh @@ -626,6 +626,9 @@ fi if test -z "$no_edit" 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" run_status } >>"$GIT_DIR"/COMMIT_EDITMSG