From: Larry Martell <larry.martell@gmail.com>
To: git@vger.kernel.org
Subject: Can't checkout branch
Date: Tue, 14 Jul 2020 12:59:21 -0400 [thread overview]
Message-ID: <CACwCsY7P5NiQL5ajHMOWo2EPiQZKUj_m_AVbtGy=z=twChimjw@mail.gmail.com> (raw)
In-Reply-To: <CACwCsY7YSn_mbtFv3QjL5dY80G6e_r-gGC3SGo5rO5b8LGXxVA@mail.gmail.com>
Been using git for a long time, first time I have seen this. I am
unable to checkout a branch.
$ git status
# On branch master
nothing to commit, working directory clean
$ git fetch --all
Fetching origin
* [new branch] deploy -> origin/deploy
$ git checkout deploy
$ git branch
* master
$ git checkout origin/deploy
Note: checking out 'origin/deploy'.
You are in 'detached HEAD' state.
I tried deleting the local repo and recloning, but I got the same
results. I see the branch on github. I can checkout other branches,
just not this one.
What could be going on?
next parent reply other threads:[~2020-07-14 17: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 ` Larry Martell [this message]
2020-07-14 18:17 ` Can't checkout branch 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
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='CACwCsY7P5NiQL5ajHMOWo2EPiQZKUj_m_AVbtGy=z=twChimjw@mail.gmail.com' \
--to=larry.martell@gmail.com \
--cc=git@vger.kernel.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 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).