The local master is on Centos and being used from the command line.
The remote master is on GitHub. There's only ever one remote and I've checked it's the correct one.
If I do git status
and see this:
Your branch is ahead of 'origin/master' by 3 commits.
then do a git fetch
and a git pull
(and see some changes being downloaded and merged without any problems), why would I see this afterwards?
git status
Your branch is ahead of 'origin/master' by 4 commits.
How is it possible that the local branch is ahead by more commits following a pull, after no activity in the local repo?
When I do git log master ^origin/master
I see a list of commits. This command should show which commits are in local but aren't in remote. But if I pick a commit ID from the list, I can find it in Github.
I'd really be interested in an explanation for this.