Last active
August 1, 2018 06:59
-
-
Save DmitriyLyalyuev/3a184e8866560b5fb9c4a6b32d49c22b to your computer and use it in GitHub Desktop.
Git commit template
This file contains 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
[tag][#ISSUE] Subject | |
# |<---- Using a Maximum Of 50 Characters ---->| | |
Description | |
BREAKING CHANGES: | |
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
# --- COMMIT END --- | |
# Tag 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) | |
# ci (changes in CI configurations) | |
# version (version bump/new release; no production code change) | |
# hack (Temporary fix to make things move forward; please avoid it) | |
# WIP (Work In Progress; for intermediate commits to keep patches reasonably sized) | |
# | |
# Note: Multiple tags can be combined, e.g. [fix][jsr292] Fix issue X with methodhandles |
This file contains 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
To setup git commit tempate: | |
$ git config --global commit.template ~/.gitcommit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment