Last active
March 4, 2022 15:57
-
-
Save GabrielMMelo/d57c73db500036eb3c8c4ab9d91298ed to your computer and use it in GitHub Desktop.
Template commit following semantic commit pattern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global commit.template ~/.cfg/commit-template |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example of thing it can be used for please