diff options
-rw-r--r-- | base.yaml | 1 | ||||
-rw-r--r-- | base/gitconfig | 4 | ||||
-rw-r--r-- | base/gitmessage | 13 |
3 files changed, 18 insertions, 0 deletions
@@ -22,6 +22,7 @@ ~/.capsesc: base/capsesc ~/.curlrc: base/curlrc ~/.gitconfig: base/gitconfig + ~/.gitmessage: base/gitmessage ~/.makepkg.conf: base/makepkg.conf ~/.npmrc: base/npmrc ~/.tmux.conf: base/tmux.conf 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 |