I did git revert (previous return), which caused some merge conflicts. After resolving the conflicts, my pre-hook hook threw some problems with the code sniffer.
Since these code sniffer notifications are fixed elsewhere, I wanted to bypass the pre-commit hook at this point using git revert --continue --no-verify , apparently git revert does not have the --no-verify .
git revert has a subcommand --no-commit , but this does not work in conjunction with --continue .
I ended up renaming the pre-commit file, but out of curiosity. Is there any better way to get around hooks with pre-locking at this point?
git
Geert van dort
source share