-
-
Save markhker/7ceda40014c194a344bc55ad00558b30 to your computer and use it in GitHub Desktop.
Use this Git commit message template to write better commit messages.
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
Replace this line with imperative summary | |
An awesome description of WHY you did this work, not HOW/WHAT it does. | |
The diff attached to commit should describe implementation (HOW) | |
well-enough. | |
# [TICKET-12] | |
#------------------------------------------------^---------------------^ | |
# 50^ 72^ | |
# 1. Summary should be imperative (not past tense), 50 characters or | |
# less, and not end with a period. | |
# | |
# 2. Description of commit should explain WHY a change was made and | |
# lines should be wrapped to 72 characters. | |
# | |
# 3. Optionally, reference a ticket number. If needed, uncomment and | |
# go to town. | |
# | |
# For more tips: | |
# http://chris.beams.io/posts/git-commit | |
# https://github.com/erlang/otp/wiki/writing-good-commit-messages#do | |
# |
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_Do(){ #... | |
cd /tmp/ | |
curl -O https://gist.githubusercontent.com/RichardBronosky/beacdea6106de0d0c7d36fbaf625139e/raw/setup.sh | |
bash setup.sh | |
} | |
curl https://gist.githubusercontent.com/RichardBronosky/beacdea6106de0d0c7d36fbaf625139e/raw/.gitmessage > ~/.gitmessage | |
git config --global --replace-all commit.template '~/.gitmessage' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment