Re: How to create independent branches
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Apr 8, 2006, 18:28 UTC
- Message-ID
- <e18vcv$rhf$1@sea.gmane.org>
- In-Reply-To
- <20060408180244.GA4807@xp.machine.de>
Peter Baumann wrote:
Show 10 quoted lines
> 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 <all_files_in_your_workdir> > > ... hack hack hack ... > git-commit -a
Wouldn't it be better and more natural to go back to first commit, or even empty repository state at the beginning, and branch there? Or make separate repository?
-- Jakub Narebski Warsaw, Poland