摘要: 问题 由于公司访问GitHub只能走代理,但是内网gitlab服务器又不能走代理。 因此想找到一种方案,可以支持git自动根据项目地址使用不同代理。 方案 如下所示,可以指定GitHub地址使用指定的代理服务器 git config --global http.https://github.com. 阅读全文
posted @ 2021-08-19 19:44 janbar 阅读(256) 评论(0) 推荐(0) 编辑