Sunday, December 24, 2017

GIT statistics

Show number of commits by developer

git shortlog | grep -E '^[^ ]' | sort -u | wc -l

Show number of commits for a period

git log --pretty=oneline --after=12/31/2016 | wc -l