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

How to bypass the post-commit hook?

From
Ping Yin <pkufranky@gmail.com>
Date
Dec 30, 2007, 15:12 UTC
Message-ID
<46dff0320712300712l78c1cdaeya5fa105be01f6b74@mail.gmail.com>
--no-verify can bypass pre-commit hook? Then how to bypass post-commit hook?

Usually I want post-commit take effect. However, in the middle of git-rebase, i want to bypass post-commit when 'git-commit --amend' since my post-commit hooks will modify the working directory and so make following rebase troubesome.

-- 
Ping Yin
Next: Jan Hudec
Message 1 of 9 in “How to bypass the post-commit hook?”
  1. Ping YinDec 30, 2007
  2. Jan HudecDec 30, 2007
  3. Pascal ObryDec 31, 2007
  4. Jan HudecJan 14, 2008
  5. Jan HudecDec 31, 2007
  6. Jan HudecDec 31, 2007
  7. Ping YinDec 31, 2007
  8. Jan HudecDec 31, 2007
  9. Ping YinDec 31, 2007

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.