Question

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

Was it helpful?

Solution

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top