Monday, October 5, 2026

Azure DevOps Git Repositories: Limiting Individual File Sizes

My content teams check CapCut video projects into ADO Git repos. Our videos, which are well over one GB, are kept in blob storage. As a defensive measure, a maximum file size has been assigned. This prevents video files from accidentally polluting my CapCut video project Git repos.

The steps to configure the individual file size limit for all Git repos in an ADO project are as follows:

  1. Open your project in Azure DevOps.
  2. Select Project settings in the lower-left corner.
  3. Under Repos, select Repositories.
  4. Select All Repositories.
  5. Open the Policies tab.
  6. Under Repository Policies, locate Maximum file size.

The default repo policy is as follows, where Maximum file size is set to Off:


Once enabled, the Maximum file size can be specified via the dropdown shown below:


Remember, this applies to all Git repos in an ADO project. This policy can also be configured per Git repo.


No comments :

Post a Comment