Re: [PATCH v1 11/11] doc: promote "git restore"
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Apr 11, 2019, 10:55 UTC
- Message-ID
- <CACsJy8B2Mm=W56XAkVwtnPHPUCMpJcSdgrLxxKFYsS-q7r9a8Q@mail.gmail.com>
- In-Reply-To
- <xmqq7ed3e5gj.fsf@gitster-ct.c.googlers.com>
On Wed, Mar 13, 2019 at 11:58 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 19 quoted lines
> > Duy Nguyen <pclouds@gmail.com> writes: > > >> Just curious: At what point did git checkout become not commonly > >> used? Git switch and git restore are not yet in git as of 2.21.0, > >> which is rather current. Maybe I missed a thread. > > > > I declare "git checkout" not commonly used the moment git-switch and > > git-restore are released! > > > > More seriously, this is an attempt to promote new commands. The > > "commonly used" here refers to the set of commands that show when you > > run "git help" (they are called "common" in command-list.txt > > classification). Since the people who type "git help" are mostly new > > people, I think promoting the friendlier alternative is a good idea. > > So it is mainly how the word "common" is defined? It's not how > common the command is in the minds of the population of Git users, > but how common we want it to be?
In this context, I think so. I suppose "recommended" is a better way to describe it since we suggest a common set of commands to the user.
-- Duy