Browse Source

chore: add user commits to count commit script

main
fdai7451 2 years ago
parent
commit
3f112bb1d2
  1. 3
      count-commits.sh

3
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/<//;s/>//' | awk '{ printf "\t%s (%s): %s\n", $2, $3, $1 }'
Loading…
Cancel
Save