Github: comparison between pitchforks?

Short version

When I compare two forks on Github, it doesn't compare the latest states, but the current state of the base fork with the last shared commit (or am I wrong?); so how can I compare the latest states / chapters on Github?

Longer version

I am trying to compare two repositories on Github.

It doesn't seem to be comparing the latest states of both repositories. Instead, it compares:

  • basic fork as it was when both repositories where are they identical (last shared commit?)

from

  • head plug as it is now.

You can see this in the Github fork comparison example , it says there are no changes between the two repositories, but there are now very different ones.

How do I compare the latest states / chapters on Github?

+3


source to share


1 answer


https://github.com/github/linguist/compare/master...gjtorikian:master

github:master

updated with all commits from gjtorikian:master

.
Try switching base for comparison.

This means that all commits from gjtorikian / liguist are part of github/linguist

.

The converse is not true:
https://github.com/gjtorikian/linguist/compare/master...github:master

This would give all (1866) commits github/linguist

that are not part gjtorikian/linkguist

.



This is the triple ...

diff between the common ancestor of the two branches and the second branch (see " What is the difference between double dot" ..

"and triple-dot" …

"in Git diff commit ranges?
"):

git diff double and triple dots

In the first case, the github/linguist:master...gjtorikian/linguist:master

common ancestor is the gjtorikian/linguist:master

same! O commits transactions.

In the second case gjtorikian/linguist:master...github/linguist:master

, it github/linguist:master

has 1866 points at the expense of a common ancestor (here, since gjtorikian/linguist:master

).

+7


source







All Articles