tortoisegit = fatal:远程端意外挂起,但 git bash 没有挂起
这个问题有点奇怪,经过大约 1 周的搜索和使用 bash 我想我应该问你们。
真的很简单,每当我尝试通过 tortoisegit 推或拉时,它会要求我提供登录详细信息,一旦我输入它们,我就会得到“致命:远程端意外挂断”。我想也许我不是正确的用户,所以我将自己更改为 root: url = ssh://root@... 但仍然不走运。
不知道会发生什么,但也许其他人也遇到过同样的问题。
有什么线索吗?
[编辑] 通过在 Windows 上卸载 tortoisegit
,重新启动然后重新安装,遗憾地解决了这个问题。
The problems a bit of a weird one and after about 1 week of searching and just using bash i thought i'd ask you dudes.
Simple really whenever i try to push or pull via tortoisegit it asks me for the log in details once i enter them i get 'fatal: the remote end hung up unexpectedly'. I thought maybe i wasn't the right user so i changed myself to be the root: url = ssh://root@... but still not luck.
No idea what it might but maybe somebody else has had the same problem.
Any Clues guys?
[Edit]
Fixed this sadly by uninstalling tortoisegit
on windows, restarting and then reinstalling.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
通过在 Windows 上卸载 tortoisegit,重新启动然后重新安装,遗憾地解决了这个问题。
Fixed this sadly by uninstalling tortoisegit on windows, restarting and then reinstalling.
我刚刚遇到了同样的问题,重新安装并没有帮助。我不知道是否有服务器更改(我没有使用 Github),或者是否是因为我升级到 Tortoise Git 1.8,或者什么。但是,以前每次我尝试连接时它都会询问我的用户名,而现在它只是给出该错误。
原来是设置问题。在存储库中,在
Tortoise Git --> 下设置-->远程
,URL 设置为hostname.com:myRepo
。这曾经有效,但现在显然不再有效了;我将其更改为[电子邮件受保护]:myRepo
。现在它可以工作了,而且作为奖励,它不再要求我每次尝试推/拉时输入用户名。
I just had this same issue, and reinstalling did not help. I don't know if there was a server change (I'm not using Github), or if it's because I upgraded to Tortoise Git 1.8, or what. But, it used to ask for my username every time I tried to connect, while now it simply gives that error.
Turns out it was a settings issue. In the repository, under
Tortoise Git --> settings --> remote
, the URL was set tohostname.com:myRepo
. This used to work, but apparently not anymore; I changed it to[email protected]:myRepo
.Now it works, and as a bonus it no longer asks me to enter my username every time I try to push/pull.
我有类似的问题。在我将 URL 中的 https 更改为 http 后,一切正常。但您的连接并不安全。
提取文件时,我使用此 URL
http://github.com/user / 文件夹
I had similar problem. After i changed https to http in the URL everything worked fine. Your connection wont be secure though.
When pulling files i use this URL
http://github.com/user / folder