报错:
git fetch github
fatal: unable to access ‘https://github.com/gowcage/snake.git/’: Failure when receiving data from the peer
git fetch github
fatal: unable to access ‘https://github.com/gowcage/snake.git/’: Failed to connect to github.com port 443 after 21072 ms: Couldn’t connect to server
原因是开启了代理,设置了代理导致的
手动添加代理即可:
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
端口号是你的代理工具配置的端口号