Generate git stats

Jamie Brandon’s 2021 post had some neat oneliner stats of lines of code changed in a given repo. He replied to me on Twitter with how to do this. The below might use zsh specific syntax for the subshell.

$git diff --shortstat $(git log --after 2020-12-30 --format=oneline | cut -d' ' -f 1 | tail -n 1)
 293 files changed, 24090 insertions(+), 1 deletion(-)