Re: Bypassing hooks while cherry-picking
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 3, 2016, 21:30 UTC
- Message-ID
- <xmqqwppj1c83.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <56D576A1.3020202@greg0ire.fr>
greg0ire <postmaster@greg0ire.fr> writes:
Show 9 quoted lines
> Steps to reproduce : > > 1. create a pre-commit hook > 2. create a commit that fails the hook, and bypass the hook > 3. checkout another branch > 4. might be optional : create a conflicting change with the previously > created commit > 5. cherry-pick the commit > 6. might be optional : solve the conflick and use git cherry-pick --continue
Wouldn't "commit --no-verify" at that last step, instead of "cherry-pick --continue", just work?