git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Chris Torek <chris.torek@gmail.com>
Cc: Larry Martell <larry.martell@gmail.com>, Git List <git@vger.kernel.org>
Subject: Re: Can't checkout branch
Date: Wed, 15 Jul 2020 09:00:12 +0200	[thread overview]
Message-ID: <875zap8dqb.fsf@igel.home> (raw)
In-Reply-To: <CAPx1GvcOpmpuPseAQDYk9pg+hfdF9KJSSSiB0fEHQrnUuPS4CA@mail.gmail.com> (Chris Torek's message of "Tue, 14 Jul 2020 11:17:56 -0700")

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'.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

  parent reply	other threads:[~2020-07-15  7:00 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 [this message]
2020-07-15 14:50       ` Junio C Hamano

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=875zap8dqb.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=chris.torek@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=larry.martell@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).