79775168

Date: 2025-09-25 18:05:49
Score: 0.5
Natty:
Report link

In 2025 I just renamed C:\project\.git\hooks\pre-commit.sample to pre-commit

#!/bin/sh
echo "🚀 Run tests..."
php artisan test
if [ $? -ne 0 ]; then
  echo "❌ Test failed!"
  exit 1
fi
echo "✅ Passed, pushing..."
exit 0
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vit