All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Chris Torek <chris.torek@gmail.com>,
	Larry Martell <larry.martell@gmail.com>,
	Git List <git@vger.kernel.org>
Subject: Re: Can't checkout branch
Date: Wed, 15 Jul 2020 07:50:53 -0700	[thread overview]
Message-ID: <xmqq5zaoltma.fsf@gitster.c.googlers.com> (raw)
In-Reply-To: <875zap8dqb.fsf@igel.home> (Andreas Schwab's message of "Wed, 15 Jul 2020 09:00:12 +0200")

Andreas Schwab <schwab@linux-m68k.org> 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.

      reply	other threads:[~2020-07-15 14:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CACwCsY7YSn_mbtFv3QjL5dY80G6e_r-gGC3SGo5rO5b8LGXxVA@mail.gmail.com>
2020-07-14 16:59 ` Can't checkout branch Larry Martell
2020-07-14 18:17   ` Chris Torek
2020-07-14 19:04     ` Junio C Hamano
2020-07-14 20:29     ` Larry Martell
2020-07-15  7:00     ` Andreas Schwab
2020-07-15 14:50       ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqq5zaoltma.fsf@gitster.c.googlers.com \
    --to=gitster@pobox.com \
    --cc=chris.torek@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=larry.martell@gmail.com \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.