Skip to content

Instantly share code, notes, and snippets.

@ppabcd
Last active October 2, 2023 07:21
Show Gist options
  • Save ppabcd/c3149e47fed374b8c46b31aaae1a8bc5 to your computer and use it in GitHub Desktop.
Save ppabcd/c3149e47fed374b8c46b31aaae1a8bc5 to your computer and use it in GitHub Desktop.
Laravel 10 Fixer
#!/bin/sh
wget -O pre-commit "https://gist.githubusercontent.com/ppabcd/176d0276e047f89b16596f9a5fdb4aa2/raw/pre-commit?$(date +%s)"
mv ./pre-commit ./.git/hooks/pre-commit
rm -rf ./.git/hooks/prepare-commit-msg
chmod +x ./.git/hooks/pre-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment