Clone using a proxy
Example
If you need to download files with git under a proxy, setting proxy server system-wide couldn’t be enough.
You could also try the following:git config --global http.proxy http://<proxy-server>:<port>
For instance:
v2rayN default http addrees is 127.0.0.1:10809
so enter the following command in cmdgit config --global http.proxy http://127.0.0.1:10809
If you want to delete the configuration:git config --global --unset http.proxy
Clone using a proxy
https://www.hardyhu.cn/2022/01/09/Clone-using-a-proxy/