Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(git): skip git hooks via config param #499

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Conversation

paularmstrong
Copy link
Owner

Problem:

HUSKY doesn't necessarily account for all of the ways that git hooks can be configured.

Solution:

Use git -c core.hooksPath=/dev/null when wanting to skip hooks.

@paularmstrong paularmstrong merged commit 5a6faab into main Dec 4, 2023
14 checks passed
@paularmstrong paularmstrong deleted the better-skip-hooks branch December 4, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant