summaryrefslogtreecommitdiff
path: root/apps/git_tools
diff options
context:
space:
mode:
authorBarbz <BarbzYHOOL@users.noreply.github.com>2019-04-10 16:49:44 +0200
committerJosé González <Deku@users.noreply.github.com>2019-04-10 10:49:44 -0400
commitb72b4a45bca4779d082ea0236494c29bdb4db2ea (patch)
tree1488151f85720956324fe5f15e03984894df968d /apps/git_tools
parent2ce10cf609238872e157eacf8602f4e45ec01e59 (diff)
chore(git): Add a commit template & introduce new guidelines (#1044)
* chore(git): Add a commit template & introduce new guidelines Introduce new guidelines for commit titles and descriptions: - More useful and unique commit titles - Useful descriptions - Maybe the use of automated changelogs in the future (see link) https://www.conventionalcommits.org/en/v1.0.0-beta.2/ * chore(git): Improve title examples * Update .git_commit_template.txt
Diffstat (limited to 'apps/git_tools')
-rw-r--r--apps/git_tools/setup_git_commit_template.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/git_tools/setup_git_commit_template.sh b/apps/git_tools/setup_git_commit_template.sh
new file mode 100644
index 0000000000..7b52062d18
--- /dev/null
+++ b/apps/git_tools/setup_git_commit_template.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+## Set a local git commit template
+git config --local commit.template ".git_commit_template.txt" ;