欢迎访问Ningto's博客

Menu
  • 首页
  • 归档
  • 关于
  • 书签
  • 必应壁纸
  • IT聚合
  • 工具
    • 我的工具列表
    • 我的网盘
    • 必应每日壁纸API
    • Html转Markdown
    • 仙尘光标
Menu

git github代理

最后更新 2019-12-06 14:39:13   阅读量 1237

家里电脑下载github代码太慢只有几KB,临时使用免费的蓝灯来下载。

  • 打开蓝灯的网页找到左上角点开菜单找到Settings然后ADVANCED SETTINGS找到http proxy地址,我的是:127.0.0.1:50705
  • 打开命令行窗口执行如下脚本打开关闭github代理

open_github_proxy.sh

#!/bin/bash
git config --global http.https://github.com.proxy 127.0.0.1:50705
git config --global https.https://github.com.proxy 127.0.0.1:50705

close_github_proxy.sh

#!/bin/bash
git config --global --unset http.https://github.com.proxy
git config --global --unset https.https://github.com.proxy
(转载本站文章请注明作者和出处:泞途 - ningto.com)

下一篇 – 双击exe阻止程序启动
上一篇 – keepalived实现服务高可用

  1. Linux

toningto@outlook.com

推荐文章

QProcess 7z.exe 解压进度

IE获取元素样式

标签云

IOS Life Qt Node.js Design Android Tools Product Bug Shell Mobile Go Web Javascript Mac Windows Linux React MQ Others Boost C/C++ MongoDB Tips Python Java Database

推广链接

【腾讯云】云产品限时秒杀,爆款1核2G云服务器,首年99元

多谢支持,用了好几年,服务很稳定支持多设备!

其他

文章RSS

Copyright © 2016 Welcome To Ningto Blog | 鄂ICP备17003086号-2