How to bypass the Git pre-push hook
•
Git’s pre-push hooks are a great way to enforce code quality. They’re also a pain when you just want to push some in-progress work to a branch.
The --no-verify
flag allows you to bypass the pre-push hook when pushing. Use it responsibly.
$ git push --no-verify
Sign up for my newsletter
A monthly round-up of blog posts, projects, and internet oddments.