From: Johannes Sixt Date: Fri, 12 Mar 2010 07:34:20 GMT Subject: Re: How do you switch branches in a bare repo? Message-ID: <4B99EE7C.4060902@viscovery.net> In-Reply-To: <4B99E957.60905@uq.edu.au> Adam Nielsen schrieb: > Thanks for the suggestion! Unfortunately it looks like I'm not allowed > to do non-fast-forward pushes into my own repository because I keep > getting this error: > > error: denying non-fast-forward refs/heads/newbranch (you should pull > first) > ! [remote rejected] newbranch~2 -> newbranch (non-fast-forward) 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. -- Hannes