git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "Your branch is ahead of 'origin' by X commits"
@ 2016-12-01 19:49 Alfonsogonzalez, Ernesto (GE Digital)
  2016-12-01 21:47 ` Jeff King
  2016-12-02 13:42 ` Matthieu Moy
  0 siblings, 2 replies; 3+ messages in thread
From: Alfonsogonzalez, Ernesto (GE Digital) @ 2016-12-01 19:49 UTC (permalink / raw)
  To: git@vger.kernel.org

Hi,

Git status tells me "Your branch is ahead of 'origin' by 108 commits.²,
but my local and origin/master are pointing to the same commit.

What am I doing wrong?

$ git diff origin/master
$ git status
On branch master
Your branch is ahead of 'origin' by 108 commits.
  (use "git push" to publish your local commits)
Untracked files:
  (use "git add <file>..." to include in what will be committed)

...
nothing added to commit but untracked files present (use "git add" to
track)
$ 



$ git show origin/master --oneline
92d392c Merge pull request #21 from org/branch

$ git show master --oneline
92d392c Merge pull request #21 from org/branch


$ git --version 
git version 2.10.2




Thanks,

Ernesto


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-02 13:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-01 19:49 "Your branch is ahead of 'origin' by X commits" Alfonsogonzalez, Ernesto (GE Digital)
2016-12-01 21:47 ` Jeff King
2016-12-02 13:42 ` Matthieu Moy

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