Github:跨叉比较? [英] Github: comparing across forks?
问题描述
$ b $ p 更长版本
我正在尝试
第一种情况是 github / linguist:master ... gjtorikian / linguist:master
,共同的祖先和 gjtorikian / linguist:主人
是一样的! O提交。
第二种情况 Short version When I compare two forks on Github, it does not compare the latest states, but the current state of the base fork with the last common commit (or am I wrong?); so how can I compare the latest states/heads on Github? Longer version I am trying to compare two repositories on Github. It does not seem to compare the latest states of both repository. Instead, it compares: with You can see this in the Github's fork comparison example, it says there are no changes between those two repositories, but there are now very different. How can I compare the latest states/heads on Github? https://github.com/github/linguist/compare/master...gjtorikian:master It means that all commits from gjtorikian/liguist are part of The reverse is not true: That would give all (1866) commits from This is triple-dot ' In the first case In the second case 这篇关于Github:跨叉比较?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! gjtorikian / linguist:master ... github / linguist:master
, github / linguist:master
自共同祖先以来有1866次提交(这里,自
github:master
is up to date with all commits from gjtorikian:master
.
Try switching the base for your comparison. github/linguist
.
https://github.com/gjtorikian/linguist/compare/master...github:mastergithub/linguist
which are not part of gjtorikian/linkguist
....
' 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?"):github/linguist:master...gjtorikian/linguist:master
, the common ancestor and gjtorikian/linguist:master
are the same! O commits.gjtorikian/linguist:master...github/linguist:master
, github/linguist:master
has 1866 commits since the common ancestor (here, since gjtorikian/linguist:master
).