[root@localhost ~]# git clone -c http.proxy=http://10.0.0.1:3128/ https://github.com/haad/proxychains
Cloning into 'proxychains'...
remote: Counting objects: 794, done.
remote: Total 794 (delta 0), reused 0 (delta 0), pack-reused 794
Receiving objects: 100% (794/794), 457.87 KiB | 121.00 KiB/s, done.
Resolving deltas: 100% (471/471), done.
git clone 命令行http代理设置
git clone -c http.proxy=http://IP:PORT/ https://github.com/user/path