I have a git post-commit hook in my repo. I want to skip running this hook sometimes.
To skip pre-commit hook, I know I can use the --no-verify flag while commiting like this
git commit -m "message" --no-verify
But this is not skipping post-commit hook.
Is it possible to skip post-commit hook? If so how to do it?