【问题标题】:can't connent to any respository when I push the code to remote将代码推送到远程时无法连接到任何存储库
【发布时间】:2018-06-18 01:35:58
【问题描述】:

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

我怎样才能跳过错误消息

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

【问题讨论】:

标签: eclipse git


【解决方案1】:

this article,查看Eclipse的日志,尝试:

  1. Window->preference->Team->Git->配置->用户设置确保用户密码正确
  2. 窗口首选项-常规-安全-安全存储-内容
    找到 git 项,清除它

【讨论】:

  • 我在你的指导下检查了git配置,但这个问题仍然存在。这里还有一些其他的错误,当我从git中提取代码时,出现“无法打开git-upload-pack”。
  • @Leandy 你找到什么了吗?
  • 是的!今天重启电脑就正常了,好奇怪,还是谢谢~_~
  • 好的!我会记得的,现在我是 stackoverflow.com 的初学者
猜你喜欢
  • 1970-01-01
  • 2021-06-11
  • 2018-06-24
  • 2010-10-25
  • 2019-11-23
  • 2019-06-21
  • 2018-03-14
  • 1970-01-01
相关资源
最近更新 更多