Receiving objects: 1% (280/17182), 308.01 KiB | 6.00 KiB/s
As shown above, I also searched for some articles, but due to my limited level, I was not able to understand and solve this problem.
By default, the complete historical version of the project will be downloaded. If you only care about the latest version of the code and not the previous historical information, you can use git's shallow copy function:
git clone --depth 1
Use GUI tool to configure proxy
$ git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080 $ git config --global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080
VPN
The most effective way to circumvent the firewall is to buy a VPN account. Github and Google need it every day.
It is recommended to use 91tianlu, the speed-up effect is obvious
1. git shallow clone
By default, the complete historical version of the project will be downloaded. If you only care about the latest version of the code and not the previous historical information, you can use git's shallow copy function:
2. GUI Tools + Agents
Use GUI tool to configure proxy
3. git + http.proxy
4. Other methods
VPN
The most effective way to circumvent the firewall is to buy a VPN account. Github and Google need it every day.
It is recommended to use 91tianlu, the speed-up effect is obvious