简体   繁体   English

Github无法在Windows 7应用程序上克隆存储库

[英]Github failed to clone repository on windows 7 application

When trying to clone a remote repository to my machine I get the error: 尝试将远程存储库克隆到我的计算机时,出现错误:

"failed to clone the repository 'somerepo'" "The process timed out. The repository is in an unknown state and likely corrupted. Trying deleting it and cloning it again" “无法克隆存储库'somerepo'”“进程已超时。存储库处于未知状态,可能已损坏。尝试删除它并再次克隆它”

This same error happened to someone else with the same environment and fixed it by just cloning it again. 相同的错误发生在具有相同环境的其他人上,并通过再次克隆将其修复。 That didn't work for me. 那对我没用。 The repo is not the issue here. 回购在这里不是问题。

First, if you are cloning with GitHub for Windows , then the latest msysgit is included in it : you just need to open a shell from G4W . 首先,如果要使用Windows的GitHub进行克隆,则其中包括最新的msysgit :您只需要从G4W打开shell

Second, if the issue persists (from an independent up-to-date msysgit, or from G4W), then it should be some connection issue (network, firewall, blocked port...) 其次,如果问题仍然存在(来自独立的最新msysgit或G4W),则应该是某些连接问题(网络,防火墙,端口受阻...)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM