diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-05-10 10:00:36 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-05-10 10:00:36 +0300 |
commit | a4d257932a371fb62a85cb58cd9b68a4d3162058 (patch) | |
tree | f6937f4824af21f7cba32adabb51c31d07f10a27 /git-commit-template | |
parent | 13ef27b266c66ed996bf5afa3c7bbd7f7d6850e8 (diff) | |
download | liw-dot-files-a4d257932a371fb62a85cb58cd9b68a4d3162058.tar.gz |
feat(git): change commit template to suggest conventional commits
https://www.conventionalcommits.org/en/v1.0.0/
Diffstat (limited to 'git-commit-template')
-rw-r--r-- | git-commit-template | 25 |
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?) |