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

Why isn't hook file cloned to bared repository ?

From
EREmily Ren <lingyan.ren@gmail.com>
Date
Mar 4, 2009, 05:40 UTC
Message-ID
<856bfe0e0903032140w4d8a9415l9f7b9a0678b492cc@mail.gmail.com>
Hi,

I added file "update" in my git repository my_repo/.git/hooks/, then I run command "git clone --bare my_repo" to generate a bared repository my_repo.git. But there's no update in my_repo.git/hooks.

Do you know why ?

Thanks, Emily

Next: Bryan Donlan
Message 1 of 3 in “Why isn't hook file cloned to bared repository ?”
  1. Emily RenMar 4, 2009
  2. Bryan DonlanMar 4, 2009
  3. Johannes SchindelinMar 4, 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.