无法在 Windows 中从 GitLab 克隆 git



我的GitLab只有一个存储库存在问题。我认为这取决于存储库中对象的数量。较小的项目被成功克隆。Https在Linux和Windows上都不能工作。在Windows中,我得到错误:

........................................
........................................
remote: Counting objects: 100% (988/988)        
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: protocol error: bad pack header

我还尝试在LAN网络中克隆存储库(ping <1 ms)。相同的问题。在Linux中,我可以通过ssh克隆存储库。但是在具有相同私钥的Windows中,我得到关于私钥格式无效的错误。密钥与Linux操作系统中加载的相同。但是,如果我试图通过ssh连接到GitLab (git@git.domain),连接将是(只是ssh没有git clone)。我甚至看到了欢迎信息。

解决方案是在https://github.com/PowerShell/Win32-OpenSSH/issues/1315的一个工作区。

最新更新