Comment by jmholla

Comment by jmholla 3 days ago

2 replies

1) You can pass `--no-verify` to `git commit` and it will skip the hooks. An alias would make it even more ergonomic.

2) You can write hooks that make the changes for you where possible. This is what I do for lints from auto-formatters. Don't know how to handle the rest of your VS Code issues though.

SOLAR_FIELDS 2 days ago

Unfortunately —-no-verify is all or nothing. If I have 10 hooks and only want to skip one of them it won’t do the job

  • Ezpie 2 days ago

    maybe git should fix this. Or maybe I could fix this internally in githooky maybe? I don't know, but I could give it a try, at least. How would you like the approach to be? Any ideas, I'll take it.