Git Bash:“致命:远程端意外挂起”

发布于 2024-09-30 21:01:49 字数 234 浏览 8 评论 0原文

我正在使用安装了 msysgit 的 Windows Vista 计算机,并尝试使用 Git Bash 克隆远程 git 存储库,但收到错误“致命:远程端意外挂起”。我能够通过 SSH 连接我公司的服务器并获取存储库列表,并且服务器管理员已授予我访问我要克隆的存储库的权限。服务器管理员报告说,当我运行“git clone”时,我没有连接到服务器。此外,系统不会要求我提供私钥的密码。我之前已经在同一台计算机上的同一存储库中成功设置了项目。有什么想法吗?

I am using a Windows Vista machine with msysgit installed and attempting to clone a remote git repository using Git Bash, but I get the error "fatal: remote end hung up unexpectedly". I am able to SSH my company's server and get a listing of repositories, and the server admin has granted me access to the ones I'm trying to clone. The server admin reports that I am not connecting to the server when I run "git clone ". Also, I am not asked for the password on my private key. I have successfully set up projects from the same repository on the same machine before. Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

私藏温柔 2024-10-07 21:01:49

可能值得显式添加 ssh 协议说明符:

git clone ssh://[email protected]/path/to/project

It might be worth explicitly adding the ssh protocol specifier:

git clone ssh://[email protected]/path/to/project
困倦 2024-10-07 21:01:49

指定存储库名称时请检查大小写。 URL 区分大小写。

Check the case in when you specify the repository name. The URLs are case sensitive.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文