Created
October 31, 2013 12:01
-
-
Save mortennajbjerg/7248538 to your computer and use it in GitHub Desktop.
Return the created & deleted lines of code + the changed files within a certain time 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 "2 weeks ago" --until "now" -p ./ | 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