From 0b2ba4788ea38fe5a7d071cbc218c1d4ee6bd94a Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Tue, 4 Aug 2020 14:07:41 -0600 Subject: [feat] Add commit type reference to gitconfig --- base/gitconfig | 4 ++++ base/gitmessage | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 base/gitmessage (limited to 'base') 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 -- cgit v1.2.3-70-g09d2