I'm working on multiple repositories and one has some commit policies forced by client side hooks.
When I work in this repo and switch to the devel
branch, it takes some time for the "hook preparations".
Can I somehow switch the current branch and forcefully ignore the hook stuff?
I know the option --no-verify
for commit, but it is not working on checkout.
Environment: Windows, but this should be irrelevant
I tried the following:
git.exe checkout --no-verify develop --
->
error: unknown option `no-verify'
usage: git checkout [<options>] <branch>