Use --no-verify to skip hooks when committing code that won’t compile or otherwise pass:
--no-verify
git commit -a -m "HACK: not working but want to save" --no-verify
source
Date: 2024-06-07
Tags: git
Share: