{"id":5359,"date":"2026-11-23T18:00:44","date_gmt":"2026-11-23T18:00:44","guid":{"rendered":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/2026\/11\/23\/new-guidance-to-optimize-git-performance-in-azure-repos\/"},"modified":"2026-11-23T18:00:44","modified_gmt":"2026-11-23T18:00:44","slug":"new-guidance-to-optimize-git-performance-in-azure-repos","status":"publish","type":"post","link":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/2026\/11\/23\/new-guidance-to-optimize-git-performance-in-azure-repos\/","title":{"rendered":"New guidance to optimize Git performance in Azure Repos"},"content":{"rendered":"<p>Git works well for most development workflows. But a change that seems harmless can make a repository harder to work with. Here are a few examples of how that can happen.<\/p>\n<h2>Committing binaries directly to your repository<\/h2>\n<p>Binaries are more likely than source code files to differ a lot between versions, so delta compression is less effective. This makes the repository grow faster.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2026\/09\/repo-optimization-binary-growth.webp\"><img data-opt-id=1908519698  fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2026\/09\/repo-optimization-binary-growth-1024x384.webp\" alt=\"Diagram showing a one-line source edit adding a 20 MB binary delta and growing a Git repository from 100 MB to 120 MB.\" width=\"1024\" height=\"384\" class=\"aligncenter size-large wp-image-73750\" \/><\/a><\/p>\n<h2>Reordering generated content<\/h2>\n<p>If you use generated text that adds or removes a small amount of data with each change, but the data isn\u2019t ordered consistently, Git then ends up storing extra data for what would otherwise be a small update.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2026\/09\/repo-optimization-generated-file-ordering.webp\"><img data-opt-id=541267944  fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2026\/09\/repo-optimization-generated-file-ordering-1024x384.webp\" alt=\"Git diff comparison: stable ordering shows one removed and one added line; reordered keys show five removed and five added lines.\" width=\"1024\" height=\"384\" class=\"aligncenter size-large wp-image-73736\" \/><\/a><\/p>\n<h2>Downloading more data than you need<\/h2>\n<p>By default, <code>git clone &lt;repo-url&gt;<\/code> downloads data for all branches on the remote. A large file pushed to one developer\u2019s branch can therefore slow down cloning for others, even if that branch is never merged into <code>main<\/code>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2026\/09\/repo-optimization-clone-branch-comparison.webp\"><img data-opt-id=950863384  data-opt-src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2026\/09\/repo-optimization-clone-branch-comparison-1024x384.webp\"  decoding=\"async\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%201024%20384%22%20width%3D%221024%22%20height%3D%22384%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%221024%22%20height%3D%22384%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" alt=\"Diagram comparing a 104 MB standard Git clone with a 1 MB single-branch clone of main when another branch contains a large file.\" width=\"1024\" height=\"384\" class=\"aligncenter size-large wp-image-73735\" \/><\/a><\/p>\n<p>To help you understand and address issues like these, we\u2019ve published new guidance for Azure Repos: <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/devops\/repos\/git\/optimize-repository-performance?view=azure-devops\">Optimize repository performance<\/a>.<\/p>\n<p>The guide walks you through checking repository health, finding what\u2019s contributing to growth, and reducing the data transferred during clones and fetches.<\/p>\n<p>Let us know in the comments what repository performance challenges you\u2019ve run into and how you solved them.<\/p>\n<p>The post <a href=\"https:\/\/devblogs.microsoft.com\/devops\/new-guidance-to-optimize-git-performance-in-azure-repos\/\">New guidance to optimize Git performance in Azure Repos<\/a> appeared first on <a href=\"https:\/\/devblogs.microsoft.com\/devops\">Azure DevOps Blog<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Git works well for most development workflows. But a change that seems harmless can make a repository harder to work [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5360,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[3],"tags":[],"class_list":["post-5359","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure"],"_links":{"self":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts\/5359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/comments?post=5359"}],"version-history":[{"count":0,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts\/5359\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/media\/5360"}],"wp:attachment":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/media?parent=5359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/categories?post=5359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/tags?post=5359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}