Perhaps non-fast-forwards are denied for a reason? If not, then you can enable them by setting receive.denynonfastforwards to false in the bare repository.
Ah, that did the trick! Although it was actually receive.denyNonFastforwards for me (adding the lowercase option had no effect, I had to edit the fancy-case version.)
But that allowed the push to work and I have gotten rid of my unwanted commits, so thanks a lot for your help!
Cheers, Adam. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html