feeds update -a error

有时候feeds update -a 出现错误

 

直接修改hosts。参考下面--

http://blog.csdn.net/zhenfengshisan/article/details/57566709

 

1、打开终端,输入:ping github.com
 
2、直接修改/etc/hosts文件,windows系统应该也一样,直接修改host文件即可,在底部添加:
192.30.253.112 github.com
 
保存修改,再次进行代码提交操作,成功。 

 

 

 

 

 

另外搜索的 .git的config

 git提交代码时,出现这个错误“error: The requested URL returned error: 403 Forbidden while accessing https”

     解决方法:

     编辑.git目录下的config文件即可。

 

[html] view plain copy
 
  1. vim .git/config  
  2. #修改对于的配置  
  3. #原来的url = https://github.com/elitecodegroovy/PhoenixC.git  
  4.   
  5. url = https://elitecodegroovy@github.com/elitecodegroovy/PhoenixC.git  


     重新提交,弹出的对话框中输入正确的passphrase即可。

 

posted @ 2018-01-14 01:46  XZHDJH  阅读(125)  评论(0)    收藏  举报