mirror of
https://github.com/git-for-windows/git.git
synced 2025-12-15 04:04:52 -06:00
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>
This commit is contained in:
parent
fa0f02dfa1
commit
88a1531435
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user