Initial commit
This commit is contained in:
13
scripts/install-hooks.sh
Executable file
13
scripts/install-hooks.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Install git hooks
|
||||
echo "Installing git hooks..."
|
||||
|
||||
# Make sure hooks directory exists
|
||||
mkdir -p .git/hooks
|
||||
|
||||
# Install pre-push hook
|
||||
cp scripts/pre-push .git/hooks/pre-push
|
||||
chmod +x .git/hooks/pre-push
|
||||
|
||||
echo "Git hooks installed successfully!"
|
||||
Reference in New Issue
Block a user