Re: rebase invoking pre-commit
- From
Sean Allred <allred.sean@gmail.com>
- Date
- Dec 22, 2023, 22:05 UTC
- Message-ID
- <m01qbdx561.fsf@epic96565.epic.com>
- In-Reply-To
- <bf1ce173-50d7-405f-88c1-7edb7ec5a55a@gmail.com>
Phillip Wood <phillip.wood123@gmail.com> writes:
> [...], we'd need to add something like "git rebase --continue > --no-verify" as a way to bypass it when resolving conflicts in commits > that were created with "git commit --no-verify".
Looks like such a flag already exists to skip the 'pre-rebase' hook. Presumably it can pull double-duty to skip pre-commit as well.
(It's a little messy to me to not be able to pick/choose which hooks to skip, but looks like this is already status quo with other hooks.)
-- Sean Allred