Skip to content

Instantly share code, notes, and snippets.

@risentveber
Last active September 1, 2020 06:40
Show Gist options
  • Save risentveber/8a67cbb26465c3b2e374cce755d5934d to your computer and use it in GitHub Desktop.
Save risentveber/8a67cbb26465c3b2e374cce755d5934d to your computer and use it in GitHub Desktop.
#!/bin/sh
cp ./tools/prepare-commit-msg.sh .git/hooks/prepare-commit-msg
cp ./tools/pre-commit.sh .git/hooks/pre-commit
cp ./tools/pre-push.sh .git/hooks/pre-push
chmod 755 .git/hooks/prepare-commit-msg
chmod 755 .git/hooks/pre-commit
chmod 755 .git/hooks/pre-push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment