Added "sumamry" alias.

Will print a short summary of git commits per author.

    32 Some Developer <sd@example.com>
    12 Another Developer <ad@example.com>
This commit is contained in:
Stefan Gaiselmann 2020-12-17 11:44:12 +01:00
parent aa1caf8b71
commit e9d35f903d

View File

@ -15,6 +15,9 @@
ld = log --pretty=format:"%C(yellow)%h\\ %C(green)%ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short --graph
ls = log --pretty=format:"%C(green)%h\\ %C(yellow)[%ad]%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
# Short summary of commiters
summary = shortlog --summary --numbered --email
# https://stackoverflow.com/questions/5188320/how-can-i-get-a-list-of-git-branches-ordered-by-most-recent-commit
# list remote branches ordered by date
rr = for-each-ref --sort=-committerdate refs/remotes/ --count=20 --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'