Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 2
    This is the only option that worked for me. On my case error was happening on: git clone --depth=1 <url> However, as per your instruction, I've executed first: git config --global core.compression 0 Then all following steps, and everything worked great! PS: I have good internet connection, just today is behaving weirdly. Thank you! Commented Jan 31, 2021 at 21:23
  • 3
    Can you detail what does disabling compression help accomplish? Commented Jul 2, 2021 at 3:43
  • 6
    @Slim Here what we are doing is disabling the default behavior of compressing the full object and then fetch. instead we are fetching without compressing which allows us to fetch step by step by specifying the depth. Commented Dec 27, 2021 at 11:50
  • Is there a way to find out how much the depth is? Because it keeps download even if the depth is enough. Commented Dec 7, 2024 at 10:30
  • 1
    This realy works, when nothing works. Thanks Commented Dec 16, 2024 at 17:44