.git/hooks/pre-commit
d=$(date +%F) res=$(curl -fs https://gitpushups.com/@GH_USERNAME?d=$d) if [ "$res" != "true" ]; then echo "\033[0;31m✗ Do your pushups first!\033[0m" >&2 exit 1 else echo "\033[0;32m✓ Pushups verified!\033[0m" fi
Developers like you have done thousands of pushups...and counting!