Windows Git Clone Speed

Windows Git Clone Speed

Windows

netsh interface tcp show global
netsh interface tcp set global autotuninglevel=normal

netsh interface tcp show heuristics
netsh interface tcp set heuristics disabled

重启操作系统

WSL

sudo rm /etc/resolv.conf
sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf'
sudo bash -c 'echo "[network]" > /etc/wsl.conf'
sudo bash -c 'echo "generateResolvConf = false" >> /etc/wsl.conf'
sudo chattr +i /etc/resolv.conf
Disable-NetAdapterLso -Name "vEthernet (WSL)"
wsl.exe --shutdown
posted @ 2022-04-12 19:52  千心  阅读(29)  评论(0编辑  收藏  举报