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.