Repository size limits for GitHub.com

后端 未结 5 820
感动是毒
感动是毒 2020-12-02 15:22

Lately I have been using GitHub and I\'m wondering, what is the repository limit for files hosted on github.com? I\'ve been wondering this because I was thinking of using Gi

5条回答
  •  攒了一身酷
    2020-12-02 15:31

    From GitHub's documentation:

    GitHub doesn't have any set disk quotas. We try to provide abundant storage for all Git repositories, within reason. Keeping repositories small ensures that our servers are fast and downloads are quick for our users.

    and

    In addition, we place a strict limit of files exceeding 100 MB in size.

    Now for the non-canned part of my answer. GitHub might allow you to store files up to 100MB, but you should also be vigilant to not version binary or other similar blob type files. The reason for this is that Git doesn't handle binaries well, and storage can be a big penalty. So if you find yourself pushing 100MB per file, you should check what type of file you are dealing with.

提交回复
热议问题