summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-05-10 10:00:36 +0300
committerLars Wirzenius <liw@liw.fi>2020-05-10 10:00:36 +0300
commita4d257932a371fb62a85cb58cd9b68a4d3162058 (patch)
treef6937f4824af21f7cba32adabb51c31d07f10a27
parent13ef27b266c66ed996bf5afa3c7bbd7f7d6850e8 (diff)
downloadliw-dot-files-a4d257932a371fb62a85cb58cd9b68a4d3162058.tar.gz
feat(git): change commit template to suggest conventional commits
https://www.conventionalcommits.org/en/v1.0.0/
-rw-r--r--git-commit-template25
1 files changed, 24 insertions, 1 deletions
diff --git a/git-commit-template b/git-commit-template
index 656b83e..5c29588 100644
--- a/git-commit-template
+++ b/git-commit-template
@@ -1,5 +1,28 @@
# If applied this commit will...
-Add/Fix/Drop/Change/Refactor/Document: whatever
+
+<type>[optional scope]: <description>
+
+[optional body]
+
+[optional footer(s)]
+
+# https://www.conventionalcommits.org/en/v1.0.0/
+# feat: new feature
+# fix: bug fix
+# fix(parse): a bug fix to the parser
+# feat!: this feature breaks something
+# build:
+# chore:
+# ci:
+# docs:
+# style:
+# refactor:
+# perf:
+# test:
+#
+# footers:
+# BREAKING-CHANGE: for anything that breaks semver major version
+# Closes: #id
# Why is it necessary? (Bug fix, feature, improvements?)