Azure DevOps calculates repo size based on the entire commit history, all branches, tags, and Git objects. There's a 2 GB soft limit (performance impact) and a 10 GB hard limit (pushes blocked). The limit cannot be increased. To manage large repos, use Git LFS, split repositories, or prune history. Git LFS offers 2 GB free storage;
Free Version - Azure Devops
I am planning to migrate our DevOps environment from on-premise to Azure DevOps. I have noticed that there is a 2 GB limit for repositories in Azure DevOps.
Could you please clarify how this size limit is calculated? Specifically, I would like to understand whether it includes the entire commit history, branches, and any other data associated with the repository.
Additionally, if our repository exceeds the 2 GB limit, how can we increase this limit? Could you also provide details on the associated costs for increasing the repository size or any alternatives available to manage large repositories?