From 3142aafbbd69bf2f4c71f0e048e4de272b4fff76 Mon Sep 17 00:00:00 2001 From: tmont Date: Sun, 5 Nov 2023 23:16:38 -0800 Subject: [PATCH] added weekly git alias --- .gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitconfig b/.gitconfig index 1951123..35bf401 100644 --- a/.gitconfig +++ b/.gitconfig @@ -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"]