由于我们网络的权限,我用来运行“Git Bash”(在 Windows 上)的帐户无法访问互联网。如此处所述:https://github.com/mozilla/pdf.js,我想发出这个命令:
$ git clone git://github.com/mozilla/pdf.js.git pdfjs
然后发出:
$ 制作
显然,我从第一个命令中得到一个错误:
致命:无法连接到 github.com
我可以以某种方式从 github 下载项目并从我的本地机器上完成这一切吗?
由于我们网络的权限,我用来运行“Git Bash”(在 Windows 上)的帐户无法访问互联网。如此处所述:https://github.com/mozilla/pdf.js,我想发出这个命令:
$ git clone git://github.com/mozilla/pdf.js.git pdfjs
然后发出:
$ 制作
显然,我从第一个命令中得到一个错误:
致命:无法连接到 github.com
我可以以某种方式从 github 下载项目并从我的本地机器上完成这一切吗?
https://github.com/mozilla/pdf.js/zipball/master
在 git 存储库链接的左上角有一个 zip 按钮。如果您能以某种方式将该拉链安装到这台机器上,那么您就拥有了所需的一切。