How to Skip Husky Git Hooks
The Problem
As you know, real-life projects are different and more complex than the "Hello World" and login page tutorials.
Sometimes you need to work on an existing project to make a quick update or fix an urgent issue.
Unfortunately, when things are not smartly designed, you can be blocked by the pre-commit and pre-push Git hooks, and you will spend time fixing these extra problems.
A Solution
In today's short tips, I share with you these two commands that can help in emergency situations:
git commit --no-verify
git push --no-verify
These options bypass the pre-commit and commit-msg hooks. See more Git hook options here
You can also try this command:
HUSKY_SKIP_HOOKS=true git cherry-pick --continue