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

Re: Overwriting bare repositories' master

From
Junio C Hamano <junkio@cox.net>
Date
Oct 29, 2006, 22:05 UTC
Message-ID
<7vlkmyzsk0.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20061029215758.GA24385@localhost.localdomain>
Sylvain Beucler <beuc@gnu.org> writes:
> ShadeHawk at #git noticed that this does not apply for a local
> directory.
Do not top-post please.
Show 6 quoted lines
> I reproduced the two successive push-es both to a local git
> repository, and then to a remote git-shell'd one, and indeed, it works
> locally but it is rejected remotely ("error: denying non-fast forward;
> you should pull first").
>
> So this is probably caused by git-shell restrictions.

I do not think so. Have you checked your config to see if you have receive.denyNonFastforwards set?

I suspect Jakub (ShadeHawk)'s test does not have it.
Previous: Sylvain BeuclerNext: Junio C Hamano
Message 3 of 6 in “Overwriting bare repositories' master”
  1. Sylvain BeuclerOct 29, 2006
  2. Sylvain BeuclerOct 29, 2006
  3. Junio C HamanoOct 29, 2006
  4. Junio C HamanoOct 29, 2006
  5. Sylvain BeuclerOct 29, 2006
  6. Johannes SchindelinOct 29, 2006

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.