commit 0462ebcb15d9e933eec507da51bb60fa62881835
parent aa0a6a2ad92e46d5015ff1f9f9dbdc46b2413290
Author: Dash Eclipse <dashezup@disroot.org>
Date: Mon, 21 Mar 2022 20:46:51 +0000
feat: add "git changelog" and "git contrib"
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.gitconfig b/.gitconfig
@@ -20,3 +20,5 @@
wtc = "!git add --all; git commit -a -m \"[WTC] $(curl -s whatthecommit.com/index.txt)\""
# cloc -vcs git
stats = !git diff --stat \"$(git hash-object -t tree /dev/null)\"
+ changelog = !git --no-pager log --oneline --pretty=\"%cs %s\" -n5
+ contrib = !git shortlog -sne