报错一:
fatal: unable to access 'https://github.com/***/***.git/': The requested URL returned error: 503
报错二:
fatal: unable to access 'https://github.com/***/***.git/': Failed to connect to github.com port 443: Connection timed out
报错三:
fatal: unable to access 'https://github.com/***/***.git/': Failed to connect to 127.0.0.1 port 1080: Connection refused
报错四:
git push fatal: unable to access 'https://github.com/***/***.git/': Encountered end of file
方法一:
git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy http://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
参考:
[1] git clone出现 fatal: unable to access 'https://github.com/…'的解决办法(亲测有效) [博客园]