shell-things/conf/gitconfig

51 lines
1.2 KiB
Plaintext
Raw Normal View History

[user]
# name = Mikaela Suomalainen
2015-01-10 11:17:47 +01:00
# email = mikaela+git@mikaela.info
# signingkey = 0x99392F62BAE30723
2019-11-20 10:15:39 +01:00
# ##wtop
# #email = mikaela.suomalainen@robuntu.fi
# #signingkey = 0xDC189FE6FA9BD685
[alias]
cleandi = clean -di
cleandix = clean -dix
# From http://progit.org/book/ch2-7.html
last = cat-file commit HEAD
# From https://github.com/blog/985-git-io-github-url-shortener#comment-15121
mergen = merge --no-ff
pulln = pull --no-ff
pullen = pull --no-ff
shorten = "!sh -c 'curl -i http://git.io -F url=$1' -"
[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
2016-04-10 10:50:38 +02:00
gpgSign = if-asked
[credential]
helper = cache --timeout=86400
[merge]
ff = only
2015-02-14 21:48:03 +01:00
[format]
2016-04-10 10:50:38 +02:00
signOff = true
2016-04-09 12:04:48 +02:00
[commit]
gpgsign = true
2016-06-20 18:00:04 +02:00
[diff]
compactionHeuristic = true
[pager]
# log = diff-highlight | less
# show = diff-highlight | less
# diff = diff-highlight | less
[interactive]
# diffFilter = diff-highlight