Frage

I am trying to check my master branch against another branch. It is hosted on bitbucket and I have verified there that branch (called incremental) is just returning nothing. So when I diff the branch like this:

git diff master..incremental

I get nothing. In case it makes a difference I'm on the master branch as this ourput shows:

>LLG_db conryf$ git branch
  component_integration
  incremental
* master

Like I said, I'm sure the branches differ but none of those diff are showing up. Here is a bit of the bitbcket output (the branches are way different): enter image description here

War es hilfreich?

Lösung

Just be sure you're doing diff against updated ref:

$ git fetch
$ git diff master..origin/incremental

or

$ git checkout incremental
$ git pull
$ git diff master..HEAD
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top