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

How-to checkin git hook

From
JDJoe D'Abbraccio <dajoe13@gmail.com>
Date
Aug 17, 2009, 20:15 UTC
Message-ID
<4A89BA5D.1000608@gmail.com>

I have not been able to find out how to commit and push a hook to my git server archive for everyone's benefit. The githooks man page does not describe this and I have not turned up any fruitful google searches on the topic.

I am trying to add a post-checkout hook. I also noticed that the post-checkout sample does not exist when I init a new archive. Is this a bug? I am running git version 1.6.0.2.

Regards, Joe

Next: Erik Faye-Lund
Message 1 of 4 in “How-to checkin git hook”
  1. Joe D'AbbraccioAug 17, 2009
  2. Erik Faye-LundAug 17, 2009
  3. Alex RiesenAug 17, 2009
  4. Joe D'AbbraccioAug 17, 2009

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.