Skip to content

Instantly share code, notes, and snippets.

@packrat386
Created January 13, 2023 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save packrat386/638b71d2ecc6aec890ecc2f8458814b2 to your computer and use it in GitHub Desktop.
Save packrat386/638b71d2ecc6aec890ecc2f8458814b2 to your computer and use it in GitHub Desktop.
git command to remove hooks
#!/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