shell-things/gitconfig

31 lines
766 B
Plaintext
Raw Normal View History

[user]
# name = Mikaela Suomalainen
# email = mikaela.suomalainen@outlook.com
# signingkey = 0xDAA6CA08F2E96AC7
[alias]
2014-06-01 15:18:18 +02:00
# 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]
2014-06-01 15:18:18 +02:00
# 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
2014-05-25 16:28:49 +02:00
[push]
2014-06-01 15:18:18 +02:00
default = current
[credential]
helper = cache --timeout=86400
[merge]
ff = only