Why am I on Master instead of my branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux