helm/gitconfig

50 lines
1.4 KiB
Plaintext
Raw Normal View History

2013-03-03 05:48:43 -08:00
[user]
2014-10-29 21:37:41 -07:00
name = Henrik Lissner
email = henrik@lissner.net
2013-11-22 20:24:27 -08:00
[github]
2014-10-29 21:37:41 -07:00
user = hlissner
2013-03-03 05:48:43 -08:00
[core]
2014-10-29 21:37:41 -07:00
excludesfile = ~/.gitignore
whitespace = trailing-space
2014-12-05 14:38:08 -08:00
editor = vim
pager = less -r
2013-03-03 05:48:43 -08:00
[color]
2014-10-29 21:37:41 -07:00
ui = true
2013-03-03 05:48:43 -08:00
[diff]
2014-10-29 21:37:41 -07:00
tool = vimdiff
2013-03-03 05:48:43 -08:00
[difftool]
2014-10-29 21:37:41 -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]
2014-10-29 21:37:41 -07:00
# Include summaries of merged commits in newly created merge commit messages
log = true
2014-12-05 14:38:08 -08:00
tool = vimdiff
[push]
2014-10-29 21:37:41 -07:00
default = simple
[credential]
2014-10-29 21:37:41 -07:00
helper = osxkeychain
2014-09-20 13:40:27 -07:00
[alias]
2014-10-29 21:37:41 -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
2014-12-05 14:38:08 -08:00
st = status
co = checkout
ci = commit
di = diff
dc = diff --cached
ammend = commit --amend
pu = push -u
# data analysis
authors = !git log --format="%aN"
unique-authors = !git authors | sort -u
ranked-authors = !git authors | sort | uniq -c | sort -n
emails = !git log --format="%aE"
email-domains = !git log --format="%aE" | awk -F'@' '{print $2}'
unique-email-domains = !git email-domains | sort -u
ranked-email-domains = !git email-domains | sort | uniq -c | sort -n