From: Junio C Hamano Date: Sun, 29 Oct 2006 22:05:35 GMT Subject: Re: Overwriting bare repositories' master Message-ID: <7vlkmyzsk0.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20061029215758.GA24385@localhost.localdomain> Sylvain Beucler writes: > ShadeHawk at #git noticed that this does not apply for a local > directory. Do not top-post please. > 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.