git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git revert --continue --no-verify

From
Taylor Blau <me@ttaylorr.com>
Date
Aug 3, 2021, 20:59 UTC
Message-ID
<YQmuT2ZYe1mzHBjI@nand.local>
In-Reply-To
<CAAVFnN=W27rdE1EH-joscyJEooAsDrdtPropVVaBYwhte=cPJA@mail.gmail.com>
On Tue, Aug 03, 2021 at 03:56:49PM -0500, Cameron Steffen wrote:
> `--no-verify` is an argument typically used with `git commit` in order
> to skip the pre-commit hook. Since the pre-commit hook also runs on
> `git revert --continue`, I expected to be able to use `--no-verify`.
No, `git revert` doesn't pass unknown options down to `git commit`.

Thanks, Taylor

Previous: Cameron SteffenNext: Cameron Steffen
Message 4 of 10 in “git revert --continue --no-verify”
  1. Cameron SteffenAug 3, 2021
  2. Taylor BlauAug 3, 2021
  3. Cameron SteffenAug 3, 2021
  4. Taylor BlauAug 3, 2021
  5. Cameron SteffenAug 3, 2021
  6. Taylor BlauAug 3, 2021
  7. Junio C HamanoAug 4, 2021
  8. Phillip WoodAug 4, 2021
  9. Taylor BlauAug 5, 2021
  10. Cameron SteffenAug 5, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.