Github: comparing across forks?

折月煮酒 提交于 2019-12-05 05:09:56
VonC

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

github:master is up to date with all commits from gjtorikian:master.
Try switching the base for your comparison.

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

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

That would give all (1866) commits from github/linguist which are not part of gjtorikian/linkguist.

This is triple-dot '...' diff between the common ancestor of two branches and the second branch (see "What are the differences between double-dot “..” and triple-dot “” in Git diff commit ranges?"):

In the first case github/linguist:master...gjtorikian/linguist:master, the common ancestor and gjtorikian/linguist:master are the same! O commits.

In the second case gjtorikian/linguist:master...github/linguist:master, github/linguist:master has 1866 commits since the common ancestor (here, since gjtorikian/linguist:master).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!