Re: [PATCH v2] git-checkout.txt: Document "git checkout <pathspec>" better
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 18, 2015, 07:00 UTC
- Message-ID
- <vpqioalfqm7.fsf@anie.imag.fr>
- In-Reply-To
- <xmqqpp4u6swo.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
> I think "restore" also by definition has to go back to _some_ > existing version, not a future yet-to-be-created one, so "restore to > some previous state" is superfluous;
That's why I found "restore recorded state" not too bad.
> "restore working tree files"
Not a native, but to me "restore file" sounds like "the file is damaged, it needs to be restored/repaired".
In any case,
Switch branches or restore working tree files
is an improvement over the existing to me, so my bikeshedding should not be used to reject this proposal.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/