Re: [PATCH] MyFirstContribution: use switch for changing branches
- From
- Benji Fisher <benji@fisherfam.org>
- Date
- Apr 9, 2024, 12:26 UTC
- Message-ID
- <CANc=FSNXzsFqzbgGs3CVAPxtxske_DEorNrk66gvYe2+1d_PAQ@mail.gmail.com>
- In-Reply-To
- <xmqqr0ffbvjq.fsf@gitster.g>
On Mon, Apr 8, 2024 at 1:42 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> > For this particular patch, I do not see a compelling reason why we > should make these changes. It is not like MyFirst* documents > consistently uses "git switch" (and "git restore") in other places > and these three are the exceptions (in which case that would be a > very good justification you would describe in the "observation" > paragraph of your proposed log message). We are not deprecating > "git checkout", either.
I was under the impression that the new "git switch" and "git restore" commands were recommended in most cases instead of "git checkout". If not, then I withdraw my suggestion. I apologize for making noise on this list.
Thanks for considering my patch. Thanks even more for maintaining git.
-- Benji Fisher