问题描述
当我尝试将本地提交推送到GitHub页面时,出现此错误:
fatal: unable to access 'https://github/TimothyCottrell/OrganizationApp.git/': Could not resolve host: github
我认为这与我在git bash中切换帐户有关。但我完全不知道是什么原因造成的。我看到很多收到此错误的人通过更改那里的代理设置来解决问题,但是我没有使用任何代理。
解决方法
使用github.com
代替github
https://github.com/TimothyCottrell/OrganizationApp.git