I'm investigating using github enterprise version to control user's data in our app. But I didn't see any document about the quantitative limitation about the repositories and branches. If anyone familiar with this part can give me some idea about the limitation about the maximum repos belonged to one organization and the maximum branches belonged to one repo?
Asked
Active
Viewed 1,398 times
1
-
Possible duplicate of [What is the repository limit for github.com](https://stackoverflow.com/questions/38768454/what-is-the-repository-limit-for-github-com) – Obsidian Age Aug 09 '19 at 03:03
-
@ObsidianAge Sry, I asked the quantity limitation, not the file size limitation. – Miko Aug 09 '19 at 03:28
1 Answers
1
Regarding repositories, since 2016, the number is supposed to be "unlimited".
That being said, I am sure that "unlimited" is "within reason" (if you really were to create a million repositories, expect GitHub support to contact you right quick)
For the branches, this is more a technical limit for an otherwise "unlimited" resource: see "Limit on number of git branches".
Having GitHub display or synchronize a too large number of branches would again generate an email from their support to enquire why you would need such a large number of branches.

VonC
- 1,262,500
- 529
- 4,410
- 5,250
-
In addition, having too large a number of branches (or other refs) can lead to slowness when fetching and pushing, which is going to pose practical problems for you far before it's going to pose a problem for GitHub. – bk2204 Aug 09 '19 at 08:47