Set git proxy for downloading files
git config --global http.proxy 127.0.0.1:[port]
git config --global https.proxy 127.0.0.1:[port]
the [port] is your vpn app's local port.
git config --global http.proxy 127.0.0.1:[port]
git config --global https.proxy 127.0.0.1:[port]
the [port] is your vpn app's local port.
打开站长之家的dns测试https://tool.chinaz.com/dns
download.visualstudio.microsoft.com查询地址找到好用一点的DNS,之后在etc/hosts文件中添加
113.96.140.104 download.visualstudio.microsoft.com
速度就会有所提升了,这个网上一搜有很多,不知道我在这里又记录一遍有没有意义。
https://code.visualstudio.com/
默认地址
需要将默认下载地址中的 az764295.vo.msecnd.net 更改为 vscode.cdn.azure.cn 即可快速下载