Skip to contentSkip to conversation

Add instructions to commit template.

PATCH New Martin Waitz 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 git-commit.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
git-commit.sh +3 -0
index 6785826..1983d45 100755
@@ -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
Signature · 5 lines
1.3.3.gc6dc-dirty


-- 
Martin Waitz