diff --git a/count-commits.sh b/count-commits.sh index ee0657c..1997abb 100755 --- a/count-commits.sh +++ b/count-commits.sh @@ -7,3 +7,6 @@ if [[ $total_commits -gt 200 ]]; then else echo "Total commits: $total_commits. $(expr 200 - $total_commits) commits left to reach minimum required commits" fi + +echo "Commits per user:" +git shortlog -s -e | sed 's///' | awk '{ printf "\t%s (%s): %s\n", $2, $3, $1 }'