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

有帮助吗?

解决方案

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
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top