2013-03-03 05:48:43 -08:00
|
|
|
[user]
|
2015-04-22 20:53:23 -07:00
|
|
|
name = Henrik Lissner
|
|
|
|
email = henrik@lissner.net
|
2013-11-22 20:24:27 -08:00
|
|
|
[github]
|
2015-04-22 20:53:23 -07:00
|
|
|
user = hlissner
|
2013-03-03 05:48:43 -08:00
|
|
|
[core]
|
2015-04-22 20:53:23 -07:00
|
|
|
excludesfile = ~/.gitignore
|
|
|
|
whitespace = trailing-space
|
|
|
|
editor = vim
|
|
|
|
pager = less -r
|
2013-03-03 05:48:43 -08:00
|
|
|
[color]
|
2015-04-22 20:53:23 -07:00
|
|
|
ui = true
|
2013-03-03 05:48:43 -08:00
|
|
|
[diff]
|
2015-04-22 20:53:23 -07:00
|
|
|
tool = vimdiff
|
2013-03-03 05:48:43 -08:00
|
|
|
[difftool]
|
2015-04-22 20:53:23 -07:00
|
|
|
prompt = false
|
2014-12-05 14:38:08 -08:00
|
|
|
cmd = vimdiff \"$LOCAL\" \"$REMOTE\"
|
|
|
|
[difftool "ediff"]
|
|
|
|
cmd = emacsclient -n --eval \"(ediff-files \\\"$LOCAL\\\" \\\"$REMOTE\\\")\"
|
2013-03-03 05:48:43 -08:00
|
|
|
[merge]
|
2015-04-22 20:53:23 -07:00
|
|
|
# Include summaries of merged commits in newly created merge commit messages
|
|
|
|
log = true
|
|
|
|
tool = vimdiff
|
2013-03-04 02:38:32 -08:00
|
|
|
[push]
|
2015-04-22 20:53:23 -07:00
|
|
|
default = simple
|
2014-06-21 01:13:56 -07:00
|
|
|
[credential]
|
2015-04-22 20:53:23 -07:00
|
|
|
helper = osxkeychain
|
2014-09-20 13:40:27 -07:00
|
|
|
[alias]
|
2015-04-22 17:45:30 -07:00
|
|
|
root = rev-parse --show-toplevel
|
2015-04-22 20:53:23 -07:00
|
|
|
undo-commit = reset --soft "HEAD^"
|
|
|
|
amend = commit --amend
|
|
|
|
ls = ls-files
|
|
|
|
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
|
|
|
|
unadd = reset HEAD
|
|
|
|
st = status
|
|
|
|
co = checkout
|
|
|
|
ammend = commit --amend
|
|
|
|
exec = "!exec "
|
2014-12-05 14:38:08 -08:00
|
|
|
|
2015-04-22 20:53:23 -07:00
|
|
|
# data analysis
|
|
|
|
authors = !git log --format="%aN" | sort -u
|
|
|
|
ranked-authors = !git authors | sort | uniq -c | sort -n
|
|
|
|
emails = !git log --format="%aE" | sort -u
|
|
|
|
email-domains = !git log --format="%aE" | awk -F'@' '{print $2}' | sort -u
|