问题

git push的时候出现 Could not resolve host: github.com

解决方法

Windows

C:\Windows\System32\drivers\etc
找到hosts,添加140.82.113.3 github.com

Mac

vi /etc/hosts
添加140.82.113.3 github.com

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐