首页
关于
统计
留言
友链
视频
更多
直播
壁纸
推荐
短网址
图床
下载
Search
1
最新DD Windows 一键脚本,含Win精简版+完整版
2,528 阅读
2
解决Telegram电报“只能给双向联系人发送消息”的错误信息
1,954 阅读
3
解决Xshell无法启动,双击没反应打不开问题
1,635 阅读
4
富士施乐Xerox S2110 网络打印IP地址设置方法
1,475 阅读
5
宝塔限制国内IP访问网站设置方法
1,350 阅读
【推荐】
Linux
shell
建站
电脑
Win
Mac
网络
维修
打印机
软件工具
优惠活动
其他
生活
登录
Search
标签搜索
Linux
CentOS7
Win7
win10
dos
DNS
打印机
CentOS
Nginx
NTP
防火墙
Chrome
Ubuntu
github
git
宝塔
linux面板
Discuz
论坛
注册表
记录两年半
累计撰写
85
篇文章
累计收到
1
条评论
首页
栏目
【推荐】
Linux
shell
建站
电脑
Win
Mac
网络
维修
打印机
软件工具
优惠活动
其他
生活
页面
关于
统计
留言
友链
视频
直播
壁纸
推荐
短网址
图床
下载
搜索到
1
篇与
代理
的结果
2024-07-07
Git Bash 设置代理
Github 国内有时会因为你所知道的原因导致克隆速度非常慢,中途各种错误断开造成克隆项目失败,那么可以通过设置代理解决:设置代理1.http || https协议//设置全局代理 //http git config --global https.proxy http://127.0.0.1:1080 //https git config --global https.proxy https://127.0.0.1:1080 //使用socks5代理的 例如ss,ssr 1080是windows下ss的默认代理端口,mac下不同,或者有自定义的,根据自己的改 git config --global http.proxy socks5://127.0.0.1:1080 git config --global https.proxy socks5://127.0.0.1:1080 //只对github.com使用代理,其他仓库不走代理 git config --global http.https://github.com.proxy socks5://127.0.0.1:1080 git config --global https.https://github.com.proxy socks5://127.0.0.1:1080 //取消github代理 git config --global --unset http.https://github.com.proxy git config --global --unset https.https://github.com.proxy //取消全局代理 git config --global --unset http.proxy git config --global --unset https.proxy 2.SSH协议//对于使用git@协议的,可以配置socks5代理 //在~/.ssh/config 文件后面添加几行,没有可以新建一个 //socks5 Host github.com User git ProxyCommand connect -S 127.0.0.1:1080 %h %p //http || https Host github.com User git ProxyCommand connect -H 127.0.0.1:1080 %h %p
2024年07月07日
61 阅读
0 评论
0 点赞