From b1058efd699ccb0db6b509ac4c91bfb21d4c8c45 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Mon, 5 Oct 2015 11:04:27 +0200 Subject: [PATCH] Add a template for git commit. Such a template will help to write better commit messages. http://codeinthehole.com/writing/a-useful-template-for-commit-messages/ --- .git_commit_msg.txt | 6 ++++++ .gitconfig | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 .git_commit_msg.txt diff --git a/.git_commit_msg.txt b/.git_commit_msg.txt new file mode 100644 index 0000000..db44a8f --- /dev/null +++ b/.git_commit_msg.txt @@ -0,0 +1,6 @@ +# If applied, this commit will... + +# Explain why this change is being made + +# Provide links to any relevant tickets, articles or other resources + diff --git a/.gitconfig b/.gitconfig index f4c39c8..ea3cab4 100644 --- a/.gitconfig +++ b/.gitconfig @@ -43,3 +43,6 @@ added = yellow changed = green untracked = cyan + +[commit] + template = ~/.git_commit_msg.txt