Created
December 22, 2020 01:03
-
-
Save gasolin/505249a1a5680419d0fd705946fd66ca to your computer and use it in GitHub Desktop.
git line changes in certain period
This file contains hidden or 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-9-1" --until "2020-12-1" | grep "files changed" | awk '{files+=$1; inserted+=$4; deleted+=$6} END {print "files changed", files, "lines inserted:", inserted, "lines deleted:", deleted}' | |
# files changed 2143 lines inserted: 32933 lines deleted: 19808 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment