Re: [PATCH] Docs: git checkout --orphan: `root commit' and `branch head'
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Sep 28, 2011, 13:45 UTC
- Message-ID
- <vpqty7wok5a.fsf@bauges.imag.fr>
- In-Reply-To
- <CAMOZ1BvL85xsQpZdez4VJ+dH4NoQ9RkthHY9OsmdnnaZ_tFnFg@mail.gmail.com>
Michael Witten <mfwitten@gmail.com> 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 ...
-- Matthieu Moy http://www-verimag.imag.fr/~moy/