这里写图片描述

[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
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐