You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't ever want a library to modify my pre-commit hooks, even if a package maintainer adds this package. How can I disable this library from ever editing .git/hooks/pre-commit?
Husky for example has HUSKY_SKIP_INSTALL=true.
The text was updated successfully, but these errors were encountered:
Similar problem happens when one branch has pre-commit installed, but another one doesn't have it. This package makes it impossible to commit anything on the other branch and simple npm install doesn't solve the issue.
As a workaround, when using the terminal you can usually just pass --no-verify to any git command to disable hooks. Still think this issue is important though as this doesn’t necessarily work for git GUIs
I don't ever want a library to modify my pre-commit hooks, even if a package maintainer adds this package. How can I disable this library from ever editing .git/hooks/pre-commit?
Husky for example has
HUSKY_SKIP_INSTALL=true
.The text was updated successfully, but these errors were encountered: