Re: Why can't git open empty branches ?
- From
- Hadmut Danisch <hadmut@danisch.de>
- Date
- Apr 11, 2012, 11:06 UTC
- Message-ID
- <4F8565BC.1070701@danisch.de>
- In-Reply-To
- <20120411105906.GA19823@burratino>
Am 11.04.2012 12:59, schrieb Jonathan Nieder:
> git checkout --orphan <new branch> > git rm -fr .
I would have expected something more obvious and intuitive like
git branch --empty
It is not really plausible to create a new branch by checking out a non-existing one.
However, this helps. Thanks.