|
1
31
这个 "compare two commits" API 不支持多个存储库:
例子: https://api.github.com/repos/octocat/hello-world/compare/master...abejpn:master 或使用GitHub URL: https://github.com/octocat/Hello-World/compare/master...abejpn:master 原答案2010:
会列出你从
|
|
|
2
10
这是一个老问题,但我刚刚找到了一个很好的解决方法 . “比较”链接 例子
现在你可以了 手动将“.diff”或“.patch”添加到此url的末尾 ,则直接在浏览器中获取文件。 例子
|
|
|
3
6
如果将跟踪“上游”回购的分支推送到存储库中,那么您也可以看到github本身的差异:
然后在网上看到: https://github.com/rdp/mplayer-svn/compare/master 裁判: http://betterlogic.com/roger/2012/04/github-compare-commits |
|
|
4
2
获取父/分叉点sha1:
或在一个命令中:
|