From: Eric Sunshine Date: Mon, 09 Jan 2023 06:32:34 GMT Subject: Re: [PATCH] doc: use "git switch -c" rather than "git checkout -b" consistently Message-ID: In-Reply-To: On Mon, Jan 9, 2023 at 1:30 AM Junio C Hamano wrote: > Eric Sunshine writes: > > touches is given merely as examples one might use, then I could see > > git-switch being prepended to the list rather than entirely replacing > > git-checkout. For instance: > > > > $ git switch -c foo <1> > > $ git checkout -b foo <1> > > $ git branch foo <2> > > $ git tag foo <3> > > That can invite "do we need to use checkout after doing switch?" > confusion. I would understand if it were > > $ git checkout -b foo # or "git switch -c foo" <1> > > or something that makes it clear either one, but not both, is used > there. That refinement looks good to me.