diff options
author | Aaron LI <aly@aaronly.me> | 2017-08-14 22:27:21 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-08-14 22:27:21 +0800 |
commit | 84f9a07199b18a6e3e8304c53a40624dc21bdfe1 (patch) | |
tree | 379298c3e06b8b858292cbb26754a821b0e1f872 /_gitmessage | |
parent | ed8e52720ec9187edad8dbcfbcc4327bcb8b5bb1 (diff) | |
download | dotfiles-84f9a07199b18a6e3e8304c53a40624dc21bdfe1.tar.bz2 |
Add _gitmessage and update _gitconfig
Credit: https://gist.github.com/adeekshith/cd4c95a064977cdc6c50
Diffstat (limited to '_gitmessage')
-rw-r--r-- | _gitmessage | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/_gitmessage b/_gitmessage new file mode 100644 index 0000000..2e8bae7 --- /dev/null +++ b/_gitmessage @@ -0,0 +1,35 @@ + +# |<---- Using a Maximum Of 50 Characters ---->| +# <type>: (If applied, this commit will...) <subject> (Max 50 char) +# +# Explain why this change is being made +# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| + +# Provide links or keys to any relevant tickets, articles or other resources +# e.g., Github issue #23 + +# Signed-off-by: Aaron LI <aly@aaronly.me> + +# --- COMMIT END --- +# Type can be: +# feat (new feature) +# fix (bug fix) +# refactor (refactoring production code) +# style (formatting, missing semi colons, etc; no code change) +# docs (changes to documentation) +# test (adding or refactoring tests; no production code change) +# chore (updating grunt tasks etc; no production code change) +# -------------------- +# Remember to: +# Capitalize the subject line +# Use the imperative mood in the subject line +# Do not end the subject line with a period +# Separate subject from body with a blank line +# Use the body to explain what and why vs. how +# Can use multiple lines with "-" for bullet points in body +# -------------------- +# Configuration: +# git config --global commit.template ~/.gitmessage +# +# For more information about this template, check out +# https://gist.github.com/adeekshith/cd4c95a064977cdc6c50 |