From: Jeffrey Walton <noloader@gmail.com>
To: Git List <git@vger.kernel.org>
Subject: Why am I on Master instead of my branch
Date: Sat, 14 Mar 2020 21:54:00 -0400 [thread overview]
Message-ID: <CAH8yC8=FZrDmHBSk=GFZd08Ovk4zffyB7KEOoyUpAPLYi_xUeA@mail.gmail.com> (raw)
I'm trying to test some changes I made on a branch on some other
machines. The changes were committed and pushed. However, after a
checkout and pull on the other machines the changes were missing.
When I do a 'git branch' I am on master for some reason:
$ git branch
cmake-inno-setup-COVERAGE
config-guess
declarations
* master
However, I have never switched back to master:
$ history | grep git | grep -E 'master|cmake'
...
2630 git checkout cmake-inno-setup-COVERAGE
2631 git fetch upstream cmake-inno-setup-COVERAGE
2632 git checkout cmake-inno-setup-COVERAGE
2634 git checkout cmake-inno-setup-COVERAGE
2635 git branch cmake-inno-setup-COVERAGE
2757 git diff upstream/master
2766 history | grep git | grep -E 'master|cmake'
<end of history>
How am I on master when I checked out cmake-inno-setup-COVERAGE?
next reply other threads:[~2020-03-15 1:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-15 1:54 Jeffrey Walton [this message]
2020-03-15 9:45 ` Why am I on Master instead of my branch Andreas Schwab
2020-03-15 10:52 ` SZEDER Gábor
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH8yC8=FZrDmHBSk=GFZd08Ovk4zffyB7KEOoyUpAPLYi_xUeA@mail.gmail.com' \
--to=noloader@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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).