Why can't I clone "FATAL ERROR: Server unexpectedly closed network connection"?
Why can't I clone "FATAL ERROR: Server unexpectedly closed network connection"?
尝试克隆存储库时出现错误,我做错了什么?
我用putty,ssh访问。
我通过 Sourcetree 从 Bitbucket 克隆了一个存储库。
FATAL ERROR: Server unexpectedly closed network connection
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Completed with errors, see above.
如果您在克隆设置中将克隆深度设置为 1(标准深度为 0),则可以无误地执行克隆,但是克隆是肤浅的,因此这不能解决我的问题。
这类似于 this thread,在 Sourcetree 中,将克隆深度更改为 1(在 Advanced Options
> Clone depth
下)可能会有所帮助。
另请参阅“Fix SourceTree: Git over SSH”
In order to connect to the git repo over SSH, I advise to install the complete PuTTY package from the official WebSite.
After this, you can copy the latest executables from the PuTTY folder (Depending on the version, usually: C:\Program Files\PuTTY
) to the SourceTree folder (Depending on the version, usually: C:\Users\AppData\Local\SourceTree\app-2.0.20.1\tools\putty
)
- plink.exe
- (pageant.exe)
- (puttygen.exe)
- (putty.exe)
Now you can configure normally the connection in SourceTree and with this latest version of plink it will work.
还在 SourceTree 之外的命令行中测试相同的克隆,并检查 HTTPS URL 是否可以更好地工作。
尝试克隆存储库时出现错误,我做错了什么?
我用putty,ssh访问。
我通过 Sourcetree 从 Bitbucket 克隆了一个存储库。
FATAL ERROR: Server unexpectedly closed network connection
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Completed with errors, see above.
如果您在克隆设置中将克隆深度设置为 1(标准深度为 0),则可以无误地执行克隆,但是克隆是肤浅的,因此这不能解决我的问题。
这类似于 this thread,在 Sourcetree 中,将克隆深度更改为 1(在 Advanced Options
> Clone depth
下)可能会有所帮助。
另请参阅“Fix SourceTree: Git over SSH”
In order to connect to the git repo over SSH, I advise to install the complete PuTTY package from the official WebSite.
After this, you can copy the latest executables from the PuTTY folder (Depending on the version, usually:
C:\Program Files\PuTTY
) to the SourceTree folder (Depending on the version, usually:C:\Users\AppData\Local\SourceTree\app-2.0.20.1\tools\putty
)
- plink.exe
- (pageant.exe)
- (puttygen.exe)
- (putty.exe)
Now you can configure normally the connection in SourceTree and with this latest version of plink it will work.
还在 SourceTree 之外的命令行中测试相同的克隆,并检查 HTTPS URL 是否可以更好地工作。