Skip to content

Commit

Permalink
Add instructions to commit template.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin Waitz authored and Junio C Hamano committed May 26, 2006
1 parent fa0f02d commit 88a1531
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions git-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 88a1531

Please sign in to comment.