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 <tali@admingilde.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Martin Waitz committed
May 26, 2006 at 01:42 UTC
88a1531435b4cb565d290ed5146352beda52206c
1 file changed
+3
git-commit.sh
+3
@@ -626,6 +626,9 @@ fi
626
if test -z "$no_edit"
627
then
628
{
629
+ echo ""
630
+ echo "# Please enter the commit message for your changes."
631
+ echo "# (Comment lines starting with '#' will not be included)"
632
test -z "$only_include_assumed" || echo "$only_include_assumed"
633
run_status
634
} >>"$GIT_DIR"/COMMIT_EDITMSG