added weekly git alias

This commit is contained in:
tmont 2023-11-05 23:16:38 -08:00
parent 089a8d848b
commit 3142aafbbd

View File

@ -5,6 +5,7 @@
releases = !git log --date=local --decorate=full --all --pretty=format:'%Cgreen%ai%Creset\t%Cred%h%Creset\t%Cblue%cn%Creset\t%d\t%s' --abbrev-commit | grep -E 'release:? v?[0-9]+\\.[0-9]+\\.[0-9]+' | perl -p -e 's%\\(.*?tag: .+?\\)\\s*release(:\\s*)?%%' | sort -i
stat = status -sb
tags = !git log --decorate=full --all --pretty=format:'%ai %d %s' --abbrev-commit | grep 'refs/tags' | sed -E 's/\\(tag:.+\\)[[:space:]]//'
weekly = !git log --pretty=format:'%ad %an' --since='one year ago' --date=format:'%Y-%m' | sort | uniq -c
[color]
ui = true
[color "diff-highlight"]