<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/highlights-from-git-2-56-usoewrckf" -->

---
title: Highlights from Git 2.56 | daily.dev
description: Git 2.56 ships with contributions from over 104 people. Highlights include a new git add --resolved command that safely stages only conflict-resolved paths...
canonical: https://daily.dev/posts/highlights-from-git-2-56-usoewrckf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Highlights from Git 2.56 | daily.dev
og:description: Git 2.56 ships with contributions from over 104 people. Highlights include a new git add --resolved command that safely stages only conflict-resolved paths...
og:url: https://daily.dev/posts/highlights-from-git-2-56-usoewrckf
og:image: https://api.daily.dev/og/posts/uSOeWRCKf.png
og:image:alt: Highlights from Git 2.56
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Highlights from Git 2.56

**[GitHub Blog](https://daily.dev/sources/ghblog)** · 10 min read · 0 upvotes · 0 comments

## Summary

Git 2.56 ships with contributions from over 104 people. Highlights include a new git add --resolved command that safely stages only conflict-resolved paths without sweeping in unrelated changes, a faster merge-base algorithm that stops traversal once no new common ancestors can appear (up to 70x faster in some monorepos), and path-walk repacking improvements that now work alongside reachability bitmaps and delta islands, unblocking adoption by large repository hosts. Other additions include git history drop, bulk branch cleanup via a new refs subcommand, a --reset-when-found option for git bisect run, --linearize for git replay, command-line typo suggestions, blob cleanup for partial clones, more reliable git log --follow across renames, indented visual roots in git log --graph, and several internal fixes removing quadratic and linear-scaling performance cliffs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.blog/open-source/git/highlights-from-git-2-56>

## Questions this post answers

### What does git add --resolved do in Git 2.56?

It stages only paths that are currently unmerged in the index after a merge conflict, scanning them first for leftover conflict markers. If any selected file still contains conflict markers, Git stages none of them and reports the affected paths. It cannot be combined with git add -u or -A and ignores tracked files that were never conflicted, making it safer than git add -u during merges.

_Anyone cleaning up conflict resolution workflows can follow git releases like this one on daily.dev._

### How much faster is merge-base calculation in Git 2.56?

Git 2.56 tracks how many queued commits remain exclusively painted by each side of a merge-base search, letting it stop once one side is exhausted instead of walking a long tail of stale history. In one monorepo, traversal fell from 0.68 seconds to 0.01 seconds; production tests found roughly 70x and 20x average speedups on two large monorepos, and a Linux-kernel merge-base command dropped from 167,441 traversal steps to 3,887.

_Teams running merge-heavy pipelines can track Git performance changes like this via daily.dev._

### Does Git 2.56 make path-walk repacking usable on repository hosting servers?

Yes, it removes the two blockers that previously prevented adoption: path-walk repacks can now select commits for a new bitmap and reuse an existing bitmap when possible, and path-walk now performs delta-island bookkeeping so ref isolation rules still hold. Path-walk repacking still isn't enabled by default, but hosts can now evaluate its storage savings, which reached about 71% smaller packs in one benchmark, without losing bitmap-assisted serving.

_daily.dev helps engineers evaluating repo storage trade-offs stay on top of Git internals updates._

## Similar posts on daily.dev

- [Highlights from Git 2.55](https://daily.dev/posts/highlights-from-git-2-55-rp044xsqm) · GitHub Blog · 81 upvotes · 11 comments
- [Looking forward to Git 2.56 - and 3.0](https://daily.dev/posts/looking-forward-to-git-2-56---and-3-0-h3in0tamj) · Lobsters · 3 upvotes · 2 comments
- [Git 2.56-rc0 Released With Updated Contribution Guidelines, Improvements For Swift](https://daily.dev/posts/git-2-56-rc0-released-with-updated-contribution-guidelines-improvements-for-swift-ycuj0vo5e) · Phoronix · 0 upvotes · 0 comments

---

Tags: [#github](https://daily.dev/tags/github), [#git](https://daily.dev/tags/git), [#version-control](https://daily.dev/tags/version-control)

[View this post on daily.dev](https://daily.dev/posts/highlights-from-git-2-56-usoewrckf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Highlights from Git 2.56","url":"https://daily.dev/posts/highlights-from-git-2-56-usoewrckf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/highlights-from-git-2-56-usoewrckf"},"datePublished":"2026-09-28T17:27:55.083Z","dateModified":"2026-09-28T18:11:08.022Z","description":"Git 2.56 ships with contributions from over 104 people. Highlights include a new git add --resolved command that safely stages only conflict-resolved paths...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2c91a4adf59f06f2490c3c5494a46d2e?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2c91a4adf59f06f2490c3c5494a46d2e?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"GitHub Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"GitHub Blog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/106cf162b88840808484d4b5429b59b1","url":"https://daily.dev/sources/ghblog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/highlights-from-git-2-56-usoewrckf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"github,git,version-control","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"GitHub Blog","item":"https://daily.dev/sources/ghblog"},{"@type":"ListItem","position":3,"name":"Highlights from Git 2.56"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/highlights-from-git-2-56-usoewrckf#faq","mainEntity":[{"@type":"Question","name":"What does git add --resolved do in Git 2.56?","acceptedAnswer":{"@type":"Answer","text":"It stages only paths that are currently unmerged in the index after a merge conflict, scanning them first for leftover conflict markers. If any selected file still contains conflict markers, Git stages none of them and reports the affected paths. It cannot be combined with git add -u or -A and ignores tracked files that were never conflicted, making it safer than git add -u during merges. Anyone cleaning up conflict resolution workflows can follow git releases like this one on daily.dev."}},{"@type":"Question","name":"How much faster is merge-base calculation in Git 2.56?","acceptedAnswer":{"@type":"Answer","text":"Git 2.56 tracks how many queued commits remain exclusively painted by each side of a merge-base search, letting it stop once one side is exhausted instead of walking a long tail of stale history. In one monorepo, traversal fell from 0.68 seconds to 0.01 seconds; production tests found roughly 70x and 20x average speedups on two large monorepos, and a Linux-kernel merge-base command dropped from 167,441 traversal steps to 3,887. Teams running merge-heavy pipelines can track Git performance changes like this via daily.dev."}},{"@type":"Question","name":"Does Git 2.56 make path-walk repacking usable on repository hosting servers?","acceptedAnswer":{"@type":"Answer","text":"Yes, it removes the two blockers that previously prevented adoption: path-walk repacks can now select commits for a new bitmap and reuse an existing bitmap when possible, and path-walk now performs delta-island bookkeeping so ref isolation rules still hold. Path-walk repacking still isn't enabled by default, but hosts can now evaluate its storage savings, which reached about 71% smaller packs in one benchmark, without losing bitmap-assisted serving. daily.dev helps engineers evaluating repo storage trade-offs stay on top of Git internals updates."}}]}
```

