From: Junio C Hamano Date: Sat, 08 Apr 2006 20:49:04 GMT Subject: Re: How to create independent branches Message-ID: <7vsloneqtb.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060408180244.GA4807@xp.machine.de> Peter Baumann writes: > Another question. I'd like to create a totaly independent branch (like > the "todo" branch in git). Is there a more user friendly way than doing > > git-checkout -b todo > rm .git/refs/heads/todo > rm .git/index > rm > > ... hack hack hack ... > git-commit -a > > I looked all over the docs, but can't find anything obvious. My "todo" branch is not even part of my main git repository. I just have two independent repositories (git and todo) locally, and push into the same public repository.