#!/bin/bash echo "#!/bin/bash cd front npx prettier --write ." > .git/hooks/pre-commit chmod +x .git/hooks/pre-commit echo "done"