add getgitbranchcommitter

This commit is contained in:
Jakobus Schürz 2020-07-16 08:52:29 +02:00
parent a7bd84029d
commit 7738712d8c

View file

@ -28,6 +28,7 @@
purge-last-commit = reset --hard HEAD~1
pushdetachedhead = push origin HEAD:master
getbranchauthor = "!f() { git for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' | sort -k5n -k2M -k3n -k4n; }; f"
getbranchcommitter = "!f() { git for-each-ref --format='%(committerdate) %09 %(committername) %09 %(refname)' | sort -k5n -k2M -k3n -k4n; }; f"
grepp = grep --break --heading --line-number
grephist = "!f() { regex=$1; git grep --break --heading --line-number -e $regex $(git rev-list --all); }; f"
[merge]