How can I recover from “fatal: Out of memory? mmap failed: Cannot allocate memory” in Git?

前端 未结 2 1102
情话喂你
情话喂你 2020-12-15 09:52

Let me start with some context:

I had to upgrade a crucial Magento webshop to a new version. To be sure all existing code would still work after the upgrade and make

2条回答
  •  旧时难觅i
    2020-12-15 10:27

    I've seen a few reports of this happening when you do "git init --bare" in a non-empty directory.

    Are you by any chance working in/with a "bare"/"server" repository that isn't empty (that is, has anything else besides the .git directory in it)?

提交回复
热议问题