Created
January 13, 2023 19:00
-
-
Save packrat386/638b71d2ecc6aec890ecc2f8458814b2 to your computer and use it in GitHub Desktop.
git command to remove hooks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
GIT_ROOT=$(git rev-parse --git-dir) | |
rm -rf ${GIT_ROOT}/hooks/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment