无法使用Github for Windows在Windows 8 RC中克隆此存储库

Eiv*_*eth 7 github-for-windows

尝试使用GitHub for Windows克隆Windows 8 RC中的一个GitHub存储库时,我收到以下错误消息:

无法克隆此存储库.请检查您的互联网连接.

  • 当我尝试使用GitHub for Windows在Windows 7中克隆相同的存储库时,它会成功.
  • 在出现错误消息之前,Windows 8中的克隆进展到大约9%.

我检查了日志文件TheLog.txt,它说错误设置证书验证位置:

2012-06-02 20:28:12.5876|INFO|GitHub.Extensions.ReactiveScreen|Activating GitHub.ViewModels.AboutViewModel.
2012-06-02 20:28:57.4916|INFO|GitHub.Extensions.ReactiveScreen|Deactivating GitHub.ViewModels.AboutViewModel.
2012-06-02 20:28:57.4916|INFO|GitHub.Extensions.ReactiveScreen|Closed GitHub.ViewModels.AboutViewModel.
2012-06-02 20:28:59.0532|INFO|GitHub.Models.RepositoryModel|Cloning [repository-url].git
2012-06-02 20:28:59.0532|INFO|GitHub.Helpers.GitRemote|Cloning '[repository-url].git' to 'Spotify-Metro-Style-App' in directory 'C:\GitHub
2012-06-02 20:28:59.0562|INFO|GitHub.PortableGit.Helpers.GitEnvSetupExtensions|Configuring SSH Agent: :
2012-06-02 20:28:59.0562|INFO|GitHub.PortableGit.Helpers.GitEnvSetupExtensions|PATH is C:\Users\EivindGussiås\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a\cmd;C:\Users\EivindGussiås\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a\bin;C:\Users\EivindGussiås\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a\mingw\bin;C:\Users\EivindGussiås\AppData\Local\Apps\2.0\7VOQ2HDO.HJX\5506OVG3.2LE\gith..tion_8f45a2159c87c850_0001.0000_70cd4637d2963700;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319;C:\WINDOWS\System32
2012-06-02 20:28:59.0782|INFO|GitHub.IO.ObservableProcess|git.exe clone --progress --recursive [repository-url].git "Spotify-Metro-Style-App" 
2012-06-02 20:29:02.2949|WARN|GitHub.Extensions.StandardUserErrors|Showing user and error Please check your internet connection.
GitHub.IO.ProcessException: Cloning into 'Spotify-Metro-Style-App'...
error: error setting certificate verify locations:
  CAfile: C:\Users\EivindGussiås\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a/bin/curl-ca-bundle.crt
  CApath: none
 while accessing [repository-url].git/info/refs
fatal: HTTP request failed
2012-06-02 20:29:02.2949|WARN|GitHub.ViewModels.ShellViewModel|User error encountered: Unable to clone this repository.
Run Code Online (Sandbox Code Playgroud)
  • 在Windows 7中,克隆存储库成功,没有任何内容写入TheLog.txt.
  • 在Windows 8 RC中,我尝试克隆的任何存储库都会出现相同的错误.
  • 我使用Microsoft帐户登录Windows 8,这在使用GitBash的Windows 8 CP中一直存在问题,因为用户名自动设置为包含GitBash不支持的挪威字符.如您所见,我的主目录是C:\ Users \EivindGussiås\.

小智 4

披露:我是 GitHub 的开发人员。

这应该在我们刚刚发布的 v1.0.8.4 更新中得到修复。

  • 与its_me同样的问题,我今天下载了Windows版的GitHub,但无法克隆我的存储库。**编辑:** 要在 Windows 7 中修复,请在 GitHub for Windows 中单击“工具”,然后单击“选项”。从那里尝试更新默认存储目录,然后重试。这对我有用。 (4认同)