CLI: How to push skipping the git hooks? #13464
-
|
Hello everyone, first, thanks for this nice tool :) https://docs.gitbutler.com/commands/but-push The doc says: But it seems there isn't a way to pass |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Thanks for calling this out - you didn’t miss anything. I checked the current So this is on us: the current behavior and the docs do not match. I will see to getting this fixed: #13486 |
Beta Was this translation helpful? Give feedback.
Thanks for calling this out - you didn’t miss anything.
I checked the current
butCLI implementation, and there is no supported way to disable hooks forbut pushright now.--run-hooksis wired as an enable-only flag, so--run-hooks=falseis rejected, even though the docs/help text make it look like this is a normal boolean option with a default.So this is on us: the current behavior and the docs do not match.
I will see to getting this fixed: #13486