Skip to content

Instantly share code, notes, and snippets.

@loskael
Created July 7, 2016 10:28
Show Gist options
  • Save loskael/b8b639a55abbdbdbdd77be32743e9f7e to your computer and use it in GitHub Desktop.
Save loskael/b8b639a55abbdbdbdd77be32743e9f7e to your computer and use it in GitHub Desktop.
echo "======" && git log --since=2016-01-01 --until=2016-06-30 --pretty=tformat: --numstat | awk '{ add += $1 ; subs += $2 } END { printf "added lines: %s\nremoved lines: %s\n",add,subs }' && git log --since=2016-01-01 --until=2016-06-30 --oneline|wc -l|awk '{print "commit counts: "$1}' && git ls-files | wc -l|awk '{print "file counts: "$1}' && find . -type f | perl -ne 'chomp;print "$_\n" if -T $_'|xargs wc -l 2>&1|tail -n1|awk '{print "line counts: "$1}' && echo "======"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment