From: Alex Riesen Date: Fri, 29 Aug 2008 09:27:02 GMT Subject: Re: How to create a branch without any links to the others branches Message-ID: <81b0412b0808290227g328b793cl58a606e718b4b3ff@mail.gmail.com> In-Reply-To: <38b2ab8a0808290127o32621d09vac07e7811e6e8139@mail.gmail.com> 2008/8/29 Francis Moreau : > > The only solution I'm seeing is to create a new repository with these > 'unrelated' branches and pull them from the other repository. > > Is this correct ? > Almost: $ rm .git/HEAD $ echo ref: refs/heads/NEW-BRANCH-NAME > .git/HEAD $ git commit