Skip to content

Instantly share code, notes, and snippets.

@MohammedEsafi
Created February 18, 2024 00:14
Show Gist options
  • Save MohammedEsafi/f717b8bd92a96c42179c3f731bdd9007 to your computer and use it in GitHub Desktop.
Save MohammedEsafi/f717b8bd92a96c42179c3f731bdd9007 to your computer and use it in GitHub Desktop.

Toggle Git Hooks activation and deactivation using these commands.

  • 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