Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
找出GitHub回购协议的来源_Git_Github - Fatal编程技术网

找出GitHub回购协议的来源

找出GitHub回购协议的来源,git,github,Git,Github,在这张照片中,你会被告知回购协议的来源。我一直在浏览Github2API,但似乎找不到获取此信息的方法。有什么想法吗?查看show repo命令中的parent/source字段。 我想这正是你想要的。这正是我想要的!父项==从何处分叉,源==网络的根repo。它们并不总是一样的。我认为值得一提的是,这确实是我一直在寻找的,而且我已经让我的脚本工作起来了。再次感谢!这个方法似乎在新的API中被删除了:(这个链接现在已经死了。)


在这张照片中,你会被告知回购协议的来源。我一直在浏览Github2API,但似乎找不到获取此信息的方法。有什么想法吗?

查看show repo命令中的parent/source字段。


我想这正是你想要的。

这正是我想要的!父项==从何处分叉,源==网络的根repo。它们并不总是一样的。我认为值得一提的是,这确实是我一直在寻找的,而且我已经让我的脚本工作起来了。再次感谢!这个方法似乎在新的API中被删除了:(这个链接现在已经死了。)