不当心将git远程地址配错了,再次配置提示如下错误:git
fatal: 远程 origin 已经存在。github
此时只须要将远程配置删除,从新添加便可;server
git remote rm originrem
git remote add origin https://github.com/***/WebCrawlers.gitit
再次提交文件便可正常使用配置
粗心形成的小错误,顺便说一下,若是git没有commit就执行push操做会出现如下错误文件
fatal: unable to access 'https://github.com/***/WebCrawlers.git/': Empty reply from serverco
解决:只须要先commit 在 push便可远程