This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2020-01-22. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Setting Git push limits

To keep the user file system from growing too large, users will receive a warning message if they add new files or update existing files larger than 50 MB. Additionally, end users will be blocked by default from pushing files or updating existing 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.

  1. In the upper-right corner of any page, click .

    Rocketship icon for accessing site admin settings

  2. In the left sidebar, click Business.

    Business tab in the Site admin settings

  3. Under your business account's name, click Settings.

    Settings tab on the business account profile page

  4. In the left sidebar, click Options.

    Options tab in the business account settings sidebar

  5. Under "Repository upload limit", use the drop-down menu and click a maximum object size.

    Drop-down menu with maximum object size options

Ask a human

Can't find what you're looking for?

Contact us