GitHub桌面和LFS无法从github.com/../git/info/lfs获取一些对象



这是故事,我们有github工作,并且正在使用gitdesktop 1.0.10。
我们还从https://github.com/blog/2432-git-lfs-lfs-2-3-0---释放出发。问题如下:

WARNING: 'git lfs clone' is deprecated and will not be updated
          with new flags from 'git clone'
'git clone' has been updated in upstream Git to have comparable
speeds to 'git lfs clone'.
'git clone' has been updated in upstream Git to have comparable
speeds to 'git lfs clone'.
Cloning into 'C:GitSomeRepo'...
remote: Counting objects: 28847, done.        
remote: Compressing objects:   0% (1/331)           
remote: Compressing objects:   1% (4/331)           
remote: Compressing objects:   2% (7/331)           
...
remote: Compressing objects:  98% (325/331)           
remote: Compressing objects:  99% (328/331)           
remote: Compressing objects: 100% (331/331)           
remote: Compressing objects: 100% (331/331), done.        
Receiving objects:   0% (1/28847)   
Receiving objects:   1% (289/28847)   
Receiving objects:   2% (577/28847)   
Receiving objects:   3% (866/28847)   
...
Receiving objects:  96% (27694/28847), 974.57 MiB | 21.10 MiB/s   
Receiving objects:  97% (27982/28847), 974.57 MiB | 21.10 MiB/s   
Receiving objects:  98% (28271/28847), 974.57 MiB | 21.10 MiB/s   
Receiving objects:  99% (28559/28847), 974.57 MiB | 21.10 MiB/s   
remote: Total 28847 (delta 547), reused 598 (delta 424), pack-reused 28092        
Receiving objects: 100% (28847/28847), 974.57 MiB | 21.10 MiB/s   
Receiving objects: 100% (28847/28847), 979.90 MiB | 20.95 MiB/s, done.
Resolving deltas:   0% (0/16327)   
Resolving deltas:   1% (306/16327)   
Resolving deltas:   2% (343/16327)   
Resolving deltas:   5% (822/16327)   
Resolving deltas:   7% (1162/16327)   
...
Resolving deltas:  98% (16033/16327)   
Resolving deltas:  99% (16175/16327)   
Resolving deltas: 100% (16327/16327)   
Resolving deltas: 100% (16327/16327), done.
batch response: Git credentials for 
https://github.com/SomeOrg/SomeProject.git not found:
exit status 1
batch response: Git credentials for 
https://github.com/SomeOrg/SomeProject.git not found:
exit status 1
batch response: Git credentials for 
https://github.com/SomeOrg/SomeProject.git not found:
exit status 1
batch response: Git credentials for 
https://github.com/SomeOrg/SomeProject.git not found:
exit status 1
batch response: Git credentials for 
https://github.com/SomeOrg/SomeProject.git not found:
exit status 1
batch response: Git credentials for 
https://github.com/SomeOrg/SomeProject.git not found:
exit status 1
batch response: Git credentials for 
https://github.com/SomeOrg/SomeProject.git not found:
exit status 1
batch response: Git credentials for 
https://github.com/SomeOrg/SomeProject.git not found:
exit status 1
batch response: Git credentials for 
https://github.com/SomeOrg/SomeProject.git not found:
exit status 1
error: failed to fetch some objects from 'https://github.com/SomeOrg/SomeProject.git/info/lfs'

我尝试过:

  • 登录非工作机上的工作凭据
  • 卸载和重新安装github桌面
  • 删除文件,强迫重新安装GitHub桌面,以再次要求设置
  • 禁用防火墙

这里的任何帮助将不胜感激,谢谢!

这似乎是git-lfs/git-lfs问题2349中描述的错误,Windows git for Windows essue esludy 1192

Windows调用git-lfs.exe的git可能是一个错误:如果没有控制台,则不会有一种与用户通信的方法。
但是,也许它确实像我之前建议的那样witt脚(即使OP表示失败),这就是为什么我想要McVe。

@dscho我认为这可能是。在我的测试中,当Git for Windows调用时,我无法让LFS看到PTY/TTY。我已经设置了一个测试存储库,该存储库已重现了以下错误:https://github.com/ttaylorr/lfs-gfw-bug

仍然尝试安装最新的git-credential-manager-for-windows。
和/或在安装了Windows最新的Git之后(2.15.1.2 One)。

OP OPEDINGUNDENDersleeping在评论中添加:

奇怪的是,似乎是从Github切换到桌面解决的。

这意味着使用"系统" git或嵌入式的sourcetree,它可能不会表现出相同的错误:检查设置。

最新更新