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

Re: Update a bare repository

From
TGThomas Glanzmann <thomas@glanzmann.de>
Date
Jul 17, 2007, 07:26 UTC
Message-ID
<20070717072635.GG5823@cip.informatik.uni-erlangen.de>
In-Reply-To
<20070717070428.GA13266@coredump.intra.peff.net>
Hello,
> The "+" in both cases means that it copies whatever Junio has, even if
> it might lose some commits of yours. But that seems to be what you
> want in this case.
thanks a lot. That is exactly what I was looking for.
> The simplest thing is not to give write access to the repo for your
> pushers. However, you could also put in a pre-receive hook that rejects
> all pushes.
Is there an example somewhere?
	Thomas
Previous: Jeff KingNext: Jeff King
Message 3 of 5 in “Update a bare repository”
  1. Thomas GlanzmannJul 17, 2007
  2. Jeff KingJul 17, 2007
  3. Thomas GlanzmannJul 17, 2007
  4. Jeff KingJul 17, 2007
  5. Thomas GlanzmannJul 17, 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.