Skip to content

Instantly share code, notes, and snippets.

@jeandudey
Last active December 4, 2017 16:47
Show Gist options
  • Save jeandudey/34bfd30d2668fb572449 to your computer and use it in GitHub Desktop.
Save jeandudey/34bfd30d2668fb572449 to your computer and use it in GitHub Desktop.
My git commit template.

Template for Git

To use this template just paste all of this (crap) in your terminal or set the correct options for git:

cd ~/
wget https://gist.github.com/jeandudey/34bfd30d2668fb572449/raw/6bcebe9d843aff6d0a5d130d0a6ea327f80f1afd/template -O .gctemplate
git config --global commit.template ~/.gctemplate
# <Type>(<Scope>): <Subject>
# Types
# Feat: New Feature.
# Fix: Buf fix.
# Docs: Changes to documentation (it applies to in code docs).
# Style: Formating, indent type etc; no code change.
# Refactor: Refactoring production code.
# Test: Adding missing tests, refactoring tests, no production code change.
# <body>
# How to: style
# https://github.com/sparkbox/how_to/tree/master/style/git
# <footer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment