Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/21.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
将git://重定向到https://_Git_Firefox Os - Fatal编程技术网

将git://重定向到https://

将git://重定向到https://,git,firefox-os,Git,Firefox Os,出于某种奇怪的原因,我的大学封锁了git端口,我想是9418。 因此,我无法克隆任何以git://开头的源repo。 对于github,我可以用https://替换git://并克隆它们。 但当我试图克隆Mozilla B2G源代码时,它要求从www.codeaurora.org获得一些部分/‎ 它没有https://repo支持。 有没有办法绕过这个问题并克隆源代码?幸运的是,Mozilla B2G也托管在GitHub上。然后,您可以通过HTTPS克隆它们 例如,要克隆:git cloneht

出于某种奇怪的原因,我的大学封锁了git端口,我想是9418。 因此,我无法克隆任何以git://开头的源repo。 对于github,我可以用https://替换git://并克隆它们。 但当我试图克隆Mozilla B2G源代码时,它要求从www.codeaurora.org获得一些部分/‎ 它没有https://repo支持。
有没有办法绕过这个问题并克隆源代码?

幸运的是,Mozilla B2G也托管在GitHub上。然后,您可以通过HTTPS克隆它们


例如,要克隆:git clonehttps://github.com/mozilla-b2g/gaia.git

我一直在使用它。但当我尝试构建它时,它会从www.codeaurora.org获取更多的代码。这就是问题所在!请避免仅链接答案。