Skip to content

Instantly share code, notes, and snippets.

@devstefancho
Created September 16, 2023 15:30
Show Gist options
  • Save devstefancho/87ada990ff767ebb02bed7164886b8ca to your computer and use it in GitHub Desktop.
Save devstefancho/87ada990ff767ebb02bed7164886b8ca to your computer and use it in GitHub Desktop.
git message
# [[ Title ]]
# <type>(<scope>): <subject>
# feat: new feature for the user, not a new feature for build script
# fix: bug fix for the user, not a fix to a build script
# docs: changes to the documentation
# style: formatting, missing semi colons, etc; no production code change
# refactor: refactoring production code, eg. renaming a variable
# test: adding missing tests, refactoring tests; no production code change
# chore: updating grunt tasks etc; no production code change
# [[ Body ]]
# Do not use period
# Add reference link if you need
# [[ Reference ]]
# https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716
@devstefancho-inara
Copy link

git config --global commit.template ~/.gitmessage.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment