Git pull fatal: Out of memory, malloc failed

前端 未结 4 2090
半阙折子戏
半阙折子戏 2021-02-04 13:11

I\'ve a repo on https://bitbucket.org/

Few days ago by a mistake big number of image files were pushed in the repo. then files were deleted via another push. after that

4条回答
  •  清酒与你
    2021-02-04 14:09

    Even if the big image files have been deleted after having being pushed, they do stay in the git history.

    I would suggest to forcibly remove them from the git history (I think that is possible, but it involves a delicate procedure that I don't know).

    Alternatively, pull the repository before the mistakenly added files, patch the repository to make the relevant small patches, clone that, and use that (perhaps with a dump/restore) as your master git.

    I don't know well the details, but I did read it could be possible

提交回复
热议问题