From: Adam Nielsen Date: Fri, 12 Mar 2010 07:38:23 GMT Subject: Re: How do you switch branches in a bare repo? Message-ID: <4B99EF6F.90207@uq.edu.au> In-Reply-To: <4B99EE7C.4060902@viscovery.net> > 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.