Skip to content

Instantly share code, notes, and snippets.

@clopezpro
Forked from joutvhu/disable-git-hooks.md
Created July 4, 2023 16:53
Show Gist options
  • Save clopezpro/6a519f6a481cd8cb27dc1b3845c9516f to your computer and use it in GitHub Desktop.
Save clopezpro/6a519f6a481cd8cb27dc1b3845c9516f to your computer and use it in GitHub Desktop.
  • Disable git hooks
git config core.hooksPath no-hooks
  • Re-enable git hooks
git config --unset core.hooksPath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment