Re: Can't checkout branch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 15, 2020, 14:50 UTC
- Message-ID
- <xmqq5zaoltma.fsf@gitster.c.googlers.com>
- In-Reply-To
- <875zap8dqb.fsf@igel.home>
Andreas Schwab <schwab@linux-m68k.org> writes:
Show 10 quoted lines
> On Jul 14 2020, Chris Torek wrote: > >> To work around this in all versions of Git, you can just be >> more explicit. For instance: >> >> git checkout deploy -- >> >> forces Git to treat it as a branch name. > > For recent versions of git, you can also use `git switch deploy'.
Yes, that is the best piece of advice in the thread so far.
Thanks.