Skip to content

Instantly share code, notes, and snippets.

@lancebecker
Created March 19, 2015 19:51
Show Gist options
  • Save lancebecker/2cf479b816b325531d8c to your computer and use it in GitHub Desktop.
Save lancebecker/2cf479b816b325531d8c to your computer and use it in GitHub Desktop.
git_types () {
echo $(tput setaf 0)$(tput setab 6)
echo '<type>(<scope>): <subject>'
echo "$(tput sgr 0)"
echo "$(tput sgr 3)feat$(tput sgr 0) (feature)"
echo "$(tput sgr 3)fix$(tput sgr 0) (bug fix)"
echo "$(tput sgr 3)docs$(tput sgr 0) (documentation)"
echo "$(tput sgr 3)style$(tput sgr 0) (formatting, missing semi colons, ...)"
echo "$(tput sgr 3)refactor"
echo "$(tput sgr 3)test$(tput sgr 0) (when adding missing tests)"
echo "$(tput sgr 3)chore$(tput sgr 0) (maintain)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment