[SourceTree] - 使用内置 PuTTY 克隆项目出现 fatal: early EOF 问题之解决

背景

使用 PuTTY 克隆 Asp.Net Core 项目失败。

错误

git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false -c core.quotepath=false clone --branch DEV git@bitbucket.org:test.git "D:\Test"
Cloning into 'D:\Test'...
FATAL ERROR: Server unexpectedly closed network connection
fatal: early EOF
fatal: The remote end hung up unexpectedly
fatal: index-pack failed

解决

在WIn10系统中,Git 的配置文件位于 C:\Users\<登录用户名>\.gitconfig 。

使用文本编辑工具打开并加入:

[core]
    compression = -1

参考资料

https://blog.csdn.net/DJY1992/article/details/50604937

posted @   jinzesudawei  阅读(6484)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
阅读排行:
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
· SQL Server 2025 AI相关能力初探
点击右上角即可分享
微信分享提示