Skip to content

Instantly share code, notes, and snippets.

@jknair0
Created October 8, 2019 12:41
Show Gist options
  • Save jknair0/efd0c3720557691281a0556ce158ba0e to your computer and use it in GitHub Desktop.
Save jknair0/efd0c3720557691281a0556ce158ba0e to your computer and use it in GitHub Desktop.
script to run before using .githooks folder as primary hooks folder to share between teams
#!/bin/bash
git config core.hooksPath .githooks
chmod +x ./.githooks/*
echo "Successfully added git-hooks!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment