From: Miklos Vajna Date: Mon, 24 Mar 2008 01:21:39 GMT Subject: Re: [PATCH 1/2] Introduce receive.guardCurrentBranch Message-ID: <20080324012139.GV14567@genesis.frugalware.org> In-Reply-To: On Sun, Mar 23, 2008 at 09:43:43PM +0100, Johannes Schindelin wrote: > +receive.guardCurrentBranch:: > + If set to true, git-receive-pack will deny to update the ref that > + HEAD points to, if HEAD is not detached. This configuration > + variable is set when initializing a non-bare repository. probably i want too much, but it would be really nice if receive-pack could just make HEAD detached. so that the user later can do a 'git checkout -m master' to resolve possible conflicts.