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

help for a git newbie please

From
MCMarlene Cote <marlene_cote@affirmednetworks.com>
Date
Dec 29, 2010, 17:43 UTC
Message-ID
<20053D7ED46E664F8B9A4D5E5B31937407197534@MBX021-W4-CA-1.exch021.domain.local>

I don't understand the docs when they talk about hooks. I have tried making my .git/hooks samples executable and they don't have any suffix to remove, so they should just run. However, every time I make a new clone, the changes I made to the hooks are gone. Just the samples get put into the clone again. How do I put a hook in place that every developer will get and execute? If I should be using server side hooks, where exactly would those go? Should I modify the hooks under my repositories directory? -------------------------- Regards, Marlene Cote Affirmed Networks 978-268-0821

Next: Jakub Narebski
Message 1 of 4 in “help for a git newbie please”
  1. Marlene CoteDec 29, 2010
  2. Jakub NarebskiDec 29, 2010
  3. shared hooks (Re: help for a git newbie please)Jonathan Nieder, Dec 29, 2010
  4. Marlene CoteDec 29, 2010

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.