shell-things/gitconfig

18 lines
434 B
Plaintext

[alias]
# From https://github.com/blog/985-git-io-github-url-shortener#comment-15121
shorten = "!sh -c 'curl -i http://git.io -F url=$1' -"
# From http://progit.org/book/ch2-7.html
last = cat-file commit HEAD
[core]
editor = vim
[color]
# From git manpage and http://book.git-scm.com/5_customizing_git.html
branch = true
diff = true
grep = true
interactive = true
pager = true
showbranch = true
status = true
ui = true