30

From an answer given at Is there a limit in the number of GitHub organizations a single account can create?, it seems that

if you don't see a hard limit published, you'll have to consider the main guideline of "be reasonable".

Also some searching has found that at https://help.github.com/articles/what-is-my-disk-quota

For best performance, we recommend repositories be kept under 1GB each. This limit is easy to stay within if large files (typically, binaries) are kept out of the repository. If your repository exceeds 1GB, you might receive a polite email from support requesting that you reduce the size of the repository to bring it back down under 1GB.

Is my understanding correct that this is a per-repo limit? For example, can I have 2 0.5 GB repositories? Will a single .99 GB file affect this performance or 99 .1GB files?

1

2 Answers 2

25

GitHub storage limits as of Sep 2015

Per repository git file: 100 MB (strict)

GitHub will warn you when pushing files larger than 50 MB. You will not be allowed to push files larger than 100 MB.

https://help.github.com/articles/working-with-large-files/#conditions-for-large-files

Per repository: ~1 GB (recommended)

We recommend repositories be kept under 1GB each. This limit is easy to stay within if large files are kept out of the repository. If your repository exceeds 1GB, you might receive a polite email from GitHub Support requesting that you reduce the size of the repository to bring it back down.

https://help.github.com/articles/what-is-my-disk-quota/#file-and-repository-size-limitations

Per repository binary release file: 2 GB (strict)

We don't limit the total size of your binary release files, nor the bandwidth used to deliver them. However, each individual file must be under 2GB in size.

https://help.github.com/articles/distributing-large-binaries/

Per account: No limit

GitHub doesn't have any set disk quotas. We try to provide abundant storage for all Git repositories, within reason.

https://help.github.com/articles/what-is-my-disk-quota/#content-wrapper

GitHub large file support (filesize >100 MB)

GitHub supports large file storage for all Git repositories with Git LFS — a new, open-source Git extension.

An outline for the development, originally called GitHub Asset Management System, a large file asset management system for GitHub:

  • 22 Sep 2013 -- committed to GitHub.
  • 08 Apr 2015 -- Large file support for GitHub was announced and early access made available.
  • 01 Oct 2015 -- git-lfs is released to all accounts, large files are supported for free up to 1 GB per account and a monthly bandwidth quota of 1 GB. Higher quotas are available for purchase.

GitHub bandwidth limits

Repository git files bandwidth limit: not significantly greater than average GitHub user

If your bandwidth usage significantly exceeds the average bandwidth usage (as determined solely by GitHub) of other GitHub customers, we reserve the right to immediately disable your account or throttle your file hosting until you can reduce your bandwidth consumption.

GitHub Terms of Service section G item 12

Repository binary release files bandwidth limit: No limit

We don't limit the total size of your binary release files, nor the bandwidth used to deliver them. However, each individual file must be under 2GB in size.

https://help.github.com/articles/distributing-large-binaries/

1
-2

github seems to have added a limit of 1000 files per directory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.