Why can't Git handle large files and large repos?

后端 未结 3 677
情深已故
情深已故 2020-12-15 09:54

Dozens of questions and answers on SO and elsewhere emphasize that Git can\'t handle large files or large repos. A handful of workarounds are suggested such as git-fat and g

3条回答
  •  离开以前
    2020-12-15 10:01

    It's because every checkout holds every version of every file.

    Now, there are ways git mitigates this issue, such as binary diffs and sparse clones, but certainly every client will have at least two copies (one in the work tree, one in the repository) of every file. Whether this is an issue for you depends on your circumstances.

提交回复
热议问题