git - 无法 ping github,但可以在我的工作场所通过浏览器访问 github。我运气不好?
问题描述
我可以通过工作场所的浏览器访问 Github,但不能 git clone 因为
fatal: unable to access 'http://github.com/user/project.git/': Could not resolve host: github.com
我无法 ping github.com。显然,我的公司没有将 github 列入白名单。
有没有办法在 Chrome 中打开的端口 80/443 上搭载?我需要将控制台命令从
git clone http://github.com/user/project.git
让我通过 80/443 的其他事情。这是可能的还是我不走运?我可以下载一个 zip,但宁愿克隆它。
谢谢您的帮助!
解决方案
推荐阅读
- flutter - 命名为 MaterialPageRoute?
- javascript - 有没有一种简单的方法可以在 ES6 及更高版本的类中创建 ReadOnly 值?
- c++ - C++ 中的静态转换
- content-management-system - 是否可以通过 Hippo CMS / brXM 中的原型页面预先填充特定组件的容器?
- r - 从 R 中的 Postgresql 获取零而不是 Inf
- ruby - 在这个 for/each 语句中,为什么我需要在我正在迭代的对象的类中使用 &block 指定一个 each 方法?
- python - 从 Scipy“SLSQP”求解器获取迭代数据
- php - 通过 TWIG 模板访问 $_post 值
- php - 什么是最好的?在大型 html 表或 jquery 上提交表单?
- python - 在 sklearn 管道中对分类变量实施 KNN 插补