Sylvain Beucler [off-list ref] 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.