Thread (1 message) 1 message, 1 author, 2020-07-15

Re: Can't checkout branch

From: Junio C Hamano <hidden>
Date: 2020-07-15 14:51:04

Andreas Schwab [off-list ref] writes:
On Jul 14 2020, Chris Torek wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help