Created
January 16, 2015 23:40
-
-
Save ecelis/5c103e953d269f3f870b to your computer and use it in GitHub Desktop.
Git global configuration tips
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
cat >>~/.gitmessage.md<<EOF | |
WIP|FIX|NEW Subject | |
What happened | |
[ticket](http://link) | |
EOF | |
cat >>~/.gitignore_global<<EOF | |
*~ | |
.*.sw* | |
.DS_Store | |
EOF | |
git config --global commit.template ~/.gitmessage | |
git config --global core.excludesfile ~/.gitignore_global |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment