git clone work with proxy 设置代理

WWIandMC / 2023-07-18 / 原文

设置代理

git config --global http.proxy http://localhost:7890

查看

git config --global --get http.proxy

Reference

https://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server-fails-with-request-timed-out