”“

遇到的网络问题:

国内网络环境下如果需要在Linux终端上下载github上面的文件,是不能访问的:

git clone https://github.com/excalidraw/excalidraw.git

1111.png

解决方案

git clone https://git.metauniverse-cn.com/https://github.com/excalidraw/excalidraw.git

2222.png

总结

通过在URL前部加入代理中转网站网址https://git.metauniverse-cn.com/实现终端代理,这种方法在青龙面板 拉库指令中同样适用

PC端设置终端代理
参照链接:(https://www.cfmem.com/2021/08/github.html)

测试代理

curl -v google.com

或者

curl cip.cc
最后编辑:2022年05月10日 ©著作权归作者所有

发表评论