shell-things/gitconfig
2014-10-05 22:30:10 +03:00

31 lines
766 B
Plaintext

[user]
# name = Mikaela Suomalainen
# email = mikaela.suomalainen@outlook.com
# signingkey = 0xDAA6CA08F2E96AC7
[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
cleandi = clean -di
cleandix = clean -dix
[core]
editor = vim
autocrlf = input
[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
[push]
default = current
[credential]
helper = cache --timeout=86400
[merge]
ff = only