遇到的网络问题:
国内网络环境下如果需要在Linux终端上下载github上面的文件,是不能访问的:
git clone https://github.com/excalidraw/excalidraw.git
解决方案
git clone https://git.metauniverse-cn.com/https://github.com/excalidraw/excalidraw.git
总结
通过在URL前部加入代理中转网站网址https://git.metauniverse-cn.com/
实现终端代理,这种方法在青龙面板 拉库指令中同样适用
PC端设置终端代理
参照链接:(https://www.cfmem.com/2021/08/github.html)
测试代理
curl -v google.com
或者
curl cip.cc
版权属于:Mr.Tlyer
本文链接:https://ntnas.top:82/typecho/archives/499/
转载时请注明出处
最新回复