13 Solving the timeout problem of git clone under MACOS

 git config --global http.proxy '127.0.0.1:7890'
 
 git config --global https.proxy '127.0.0.1:7890'

Make corresponding proxy settings

Then do git clone again

Note:        

sudo vim /private/etc/hosts

You can modify the hosts file

Mac OS X terminal input: sudo killall -HUP mDNSResponder

The hosts file just configured can take effect

Guess you like

Origin blog.csdn.net/weixin_68930048/article/details/128293892