From: Michael Witten Date: Wed, 28 Sep 2011 13:50:00 GMT Subject: Re: [PATCH] Docs: git checkout --orphan: `root commit' and `branch head' Message-ID: In-Reply-To: On Wed, Sep 28, 2011 at 13:45, Matthieu Moy wrote: > Michael Witten writes: > >> Well, I think Jeff already proferred a solution. We could have: >> >>   git commit --no-parent > [...] > > Appart from the safety objections, is the "root commit" senario common > enough to deserve appearing in the user-interface for both "commit" and > "checkout"? > > I think "git commit -h" is scary enough as it is ... Well, as Junio mentioned, "--orphan" could be deprecated in favor of "--no-parent"; the uncommon nature of this task works to our advantage, in that it makes a deprecation of "--orphan" easy.