Tips - to solve the problem of slow Github project clone

设置github的项目git命令走sock代理

git config --global http.https://github.com.proxy socks5://127.0.0.1:1086(sock端口号)

取消代理
git config --global --unset http.https://github.com.proxy

Set before:

After setting:

PS: Note to copy github project links to use https instead of ssh

Guess you like

Origin www.cnblogs.com/JohnTsai/p/11483440.html