Skip to content

Instantly share code, notes, and snippets.

@GabrielMMelo
Last active March 4, 2022 15:57
Show Gist options
  • Select an option

  • Save GabrielMMelo/d57c73db500036eb3c8c4ab9d91298ed to your computer and use it in GitHub Desktop.

Select an option

Save GabrielMMelo/d57c73db500036eb3c8c4ab9d91298ed to your computer and use it in GitHub Desktop.
Template commit following semantic commit pattern
git config --global commit.template ~/.cfg/commit-template
# FORMAT:
# <type>(<scope>): <subject><footer>
# TYPES:
# feat Add a new feature for the user, not for build script.
# fix Add a bug fix for the user, not for build script.
# docs Add changes to the documentation.
# style Add code formatting (e.g. add missing colons, indentation). No production code changes.
# refactor Add production code refactoring. No new features or different results added.
# test Add missing tests or tests refactoring. No productino code changes.
# chore Add changes to build/config files (e.g. add a package to .gitignore)
# revert Reverts to a previous commit.
@TriHydera
Copy link
Copy Markdown

Example of thing it can be used for please

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