Skip to content

Commit 0a4d351

Browse files
kyannyCopilot
andauthored
Clarify GHES Git push/object size limit docs (#62970)
Co-authored-by: Copilot <copilot@github.com>
1 parent 16c0eb0 commit 0a4d351

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

content/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ By default, repository administrators can rename branches that are targeted by e
209209

210210
To keep your repository size manageable and prevent performance issues, you can configure a file size limit for repositories in your enterprise.
211211

212-
By default, when you enforce repository upload limits, people cannot add or update files larger than 100 MB.
212+
By default, people cannot add or update files larger than 100 MB, but you can raise or remove this limit. If you enforce your chosen limit for all repositories on the instance, individual repositories cannot use a different limit.
213213

214214
{% data reusables.enterprise-accounts.access-enterprise %}
215215
{% data reusables.enterprise-accounts.policies-tab %}

content/repositories/creating-and-managing-repositories/repository-limits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ To avoid throttling and performance issues, we recommend staying within the foll
4545
* **Push size**: This limit is enforced at 2GB.
4646
* **Single object size**:
4747

48-
The recommended maximum limit is 1MB. This is enforced at 100MB. To track large files in a Git repository, we recommend using {% data variables.large_files.product_name_short %}. See [AUTOTITLE](/repositories/working-with-files/managing-large-files/about-git-large-file-storage).
48+
The recommended maximum limit is 1MB. {% ifversion ghes %}By default, this is enforced at 100 MB, but enterprise owners can change or remove this limit. See [AUTOTITLE](/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-git-push-limits).{% else %}This is enforced at 100 MB.{% endif %} To track large files in a Git repository, we recommend using {% data variables.large_files.product_name_short %}. See [AUTOTITLE](/repositories/working-with-files/managing-large-files/about-git-large-file-storage).
4949

5050
* **Git read operations (e.g. fetches, clones)**:
5151

0 commit comments

Comments
 (0)