From: Alex Riesen Date: Fri, 29 Aug 2008 09:46:25 GMT Subject: Re: How to create a branch without any links to the others branches Message-ID: <81b0412b0808290246j299371b0k7895308368266a01@mail.gmail.com> In-Reply-To: <38b2ab8a0808290237l703b0394rad8f42c091d7143f@mail.gmail.com> 2008/8/29 Francis Moreau : > On Fri, Aug 29, 2008 at 11:27 AM, Alex Riesen wrote: >> >> $ rm .git/HEAD >> $ echo ref: refs/heads/NEW-BRANCH-NAME > .git/HEAD >> $ git commit >> > > well, it looks pretty git internal hack thing to me. > > Shouldn't we add a new option to git-branch to do that, like: > > $ git branch --detach > Dunno. I never needed that explicitly. What do you want to do with it?