首页 > 其他 > 详细

【知乎】github,Empty reply from server?

时间:2015-06-24 14:24:57      阅读:245      评论:0      收藏:0      [点我收藏+]
http://www.zhihu.com/question/26717343
 
问:用hexo搭了个blog,之前一直正常,最近在deploy的时候无法连接到github了。

fatal: unable to access ‘https://github.com/xxxxx’: Empty reply from server.

请问这是怎么回事?

 
答:换通道吧。别用https了。墙内墙外http,https通道不仅速度慢,也都有失败风险的。访问不到就返回空了。具体做法如下:

比如现在你的repo地址是:
https: //github.com/xxx/xxx.github.io.git 
那就把https://换成git@,如下:
git@github.com:xxx/xxx.github.io.git

xxx是你的github名称。

【知乎】github,Empty reply from server?

原文:http://www.cnblogs.com/linxd/p/4597468.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!