Redo git aliases

This commit is contained in:
Henrik Lissner 2015-04-22 20:45:30 -04:00
parent 87a4c7e3c6
commit fe23499956

View file

@ -26,6 +26,7 @@
[credential]
helper = osxkeychain
[alias]
root = rev-parse --show-toplevel
undo-commit = reset --soft "HEAD^"
amend = commit --amend
ls = ls-files
@ -40,10 +41,7 @@
pu = push -u
# data analysis
authors = !git log --format="%aN"
unique-authors = !git authors | sort -u
authors = !git log --format="%aN" | 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
emails = !git log --format="%aE" | sort -u
email-domains = !git log --format="%aE" | awk -F'@' '{print $2}' | sort -u