Created
October 21, 2021 14:24
-
-
Save lingsamuel/25a912d5653b46ac8e9f77183e8ba6ef to your computer and use it in GitHub Desktop.
Calculate changes in git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log --shortstat --since "2020-10-08" | grep "files changed" | awk '{files+=$1; inserted+=$4; deleted+=$6} END {print "files changed", files, "; lines inserted:", inserted, "; lines deleted:", deleted}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment