Skip to content

Instantly share code, notes, and snippets.

@scopevale
Forked from Linell/.git-commit-template.txt
Last active December 10, 2015 14:37
Show Gist options
  • Save scopevale/ff71b1e29c0a88d377f7 to your computer and use it in GitHub Desktop.
Save scopevale/ff71b1e29c0a88d377f7 to your computer and use it in GitHub Desktop.
# <subject>
# blank line (after subject)
# <body - more detailed description of commit (optional)>
# blank line (after body)
# <footer - JIRA ticket : title >
# Subject should use imperative tone and say what you did. eg: Add .... or Fix ...
# NOT Added/Adding ... or Fixed/Fixes/Fixing ...
# The body should go into detail about changes made.
# JIRA ticket (eg: DRC-30, OLW-4321) : ticket title
# For a full example of how to write a good commit message, check out
# https://github.com/sparkbox/how_to/tree/master/style/git
# http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
@scopevale
Copy link
Author

to install

curl https://gist.githubusercontent.com/scopevale/ff71b1e29c0a88d377f7/raw/4d4ba221e53305ab5d2d60dbe7aa8add90a05c83/.git-commit-template.txt > ~/.git-commit-template.txt && git config --global commit.template ~/.git-commit-template.txt

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