diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/gitconfig | 4 | ||||
-rw-r--r-- | base/gitmessage | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/base/gitconfig b/base/gitconfig index 1461a1d..a16f5f8 100644 --- a/base/gitconfig +++ b/base/gitconfig @@ -18,6 +18,10 @@ [core] editor = vim excludesfile = ~/.gitignore_global +[init] + defaultBranch = main +[commit] + template = ~/.gitmessage [credential] helper = cache --timeout 3600 [merge] diff --git a/base/gitmessage b/base/gitmessage new file mode 100644 index 0000000..f948470 --- /dev/null +++ b/base/gitmessage @@ -0,0 +1,13 @@ +[type] Subject line... + +# Commit Types: +# - fix A bug fix +# - feat A new feature +# - docs Changes in documentation +# - style Everything related to styling +# - revert Rolling back changes made in previous commits +# - refactor Code changes that neither fix a bug nor add a feature +# - test Everything related to testing +# - chore Updating build tasks, package manager configs, etc. +# - [...]! Breaking change +#
\ No newline at end of file |