Git 无法在Windows 8上克隆存储库
我对Github和Git都是新手,所以我下载了Github for Windows,在我的Windows 8计算机上运行。但是,当我尝试克隆我所在组织中的存储库时,它会立即出现以下消息:Git 无法在Windows 8上克隆存储库,git,github,git-clone,github-for-windows,Git,Github,Git Clone,Github For Windows,我对Github和Git都是新手,所以我下载了Github for Windows,在我的Windows 8计算机上运行。但是,当我尝试克隆我所在组织中的存储库时,它会立即出现以下消息: failed to clone the repository 'foo/bar' Please check your internet connection. 我可以连接到internet和Github 为什么Github for Windows会这样做?这是一个错误还是设置错误?我通过重新安装Github
failed to clone the repository 'foo/bar'
Please check your internet connection.
我可以连接到internet和Github
为什么Github for Windows会这样做?这是一个错误还是设置错误?我通过重新安装Github for Windows解决了这个错误。它现在正在工作。我也有同样的问题。你在防火墙后面吗?如果是,请设置Windows环境变量。确保变量名使用小写字母 http_proxy=http://yourproxy.com:1234 https_proxy=http://yourproxy.com:1234 http_代理=http://yourproxy.com:1234 https\u代理=http://yourproxy.com:1234
可能重复@Pigueiras,这和这个问题完全不同。首先,答案是它在v1.0.8.4中是固定的,我有最新版本,而且在我的情况下,错误会立即发生,而在这个问题上,它会开始克隆,然后停止。检查您的本地防火墙。我安装了Github for Windows fresh。克隆不适合我。我已将PortableGit的一个副本从安装路径放入一个新目录,并将其放入%path%环境变量中,因此我从命令行运行了一个git clone命令。成功了。但这表明GitHub for Windows由于某种原因而被破坏。