Configure
Generated Script
How to install
1. Save the script as.git/hooks/pre-commit in your repository2. Make it executable:
chmod +x .git/hooks/pre-commitTo share with your team, save hooks in a directory like
.githooks/ and run:git config core.hooksPath .githooks
These hooks work great with Tower, a native Git Client for Mac and Windows. Tower makes managing branches, commits, and conflicts easy and fun!