当我将代码推送到远程时,无法连接到任何存储库

时间:2018-01-09 03:30:56

标签: eclipse git

我面临的问题是“当我将代码提交到本地资源库成功时,我就无法将代码从eclipse推送到git存储库......”

https://i.stack.imgur.com/oKySd.png

如何通过错误消息

Can't connect to any repository: 
https://gitee.com/JinJiaoJingTong/SanPin.git 
(https://gitee.com/JinJiaoJingTong/SanPin.git: cannot open git-receive-pack)

1 个答案:

答案 0 :(得分:0)

this article一样,检查Eclipse的日志,然后尝试:

  
      
  1. 窗口 - >优先 - > Team-> Git->配置 - >用户设置以确保用户密码正确
  2.   
  3. window-preferences-General-Security- Secure Storage-Content
      找到git项目,清除它
  4.