Article version: Enterprise Server 2.17
Setting Git push limits
You can enforce a maximum size for Git objects in a repository.
To keep your repository size manageable and prevent performance issues, you can configure a file size limit for repositories on your instance.
By default, when you enforce repository upload limits, people cannot add or update files larger than 100 MB.
Note: Only files larger than 50 MB will be checked against the Git push limit. If you need to set a lower push limit, contact GitHub Enterprise Support or GitHub Premium Support for assistance.
- In the upper-right corner of any page, click .
- In the left sidebar, click Enterprise.
- In the enterprise account sidebar, click Settings.
- Under " Settings", click Options.
- Under "Repository upload limit", use the drop-down menu and click a maximum object size.
- Optionally, to enforce a maximum upload limit for all repositories on your GitHub Enterprise Server instance, select Enforce on all repositories