From: Junio C Hamano Date: Wed, 15 Jul 2020 14:50:53 GMT Subject: Re: Can't checkout branch Message-ID: In-Reply-To: <875zap8dqb.fsf@igel.home> Andreas Schwab writes: > 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.