GIT-RANGE-DIFF(1) Git Manual GIT-RANGE-DIFF(1) (NAME) git-range-diff - ( ) (SYNOPSIS) git range-diff [--color=[]] [--no-color] [] [--no-dual-color] [--creation-factor=] [--left-only | --right-only] [--diff-merges=] [--remerge-diff] [--no-notes | --notes[=]] ( | ... | ) [[--] ...] (DESCRIPTION) (patch series) ( merge) . . . diff ( diff ) . (Algorithm) . (ancestors) . : o : .. ^! ^- . SPECIFYING RANGES gitrevisions(7) . o .... .. ... o : .. ... (OPTIONS) --no-dual-color diff `git range-diff` diff diff -/+ (background) / . diff <<>> (dimmed) ( color.diff. contextDimmed oldDimmed newDimmed ) diff (bold) ( color.diff. contextBold oldBold newBold ). range-diff << >> (dual coloring) . --no-dual-color diff ( diff ). --creation-factor= (fudge factor) / . . git range-diff ( ) . (Algorithm) . --left-only ( << >> ...) . --right-only ( << >> ...) . --diff-merges= (merge commits) --diff-merges= git-log(1) diff . : remerge diff . git merge remerge diff . --remerge-diff --diff-merges=remerge. --notes[=], --no-notes git log ( git- log(1) ) . . ... .. ... .. ... . : my-topic git range-diff my-topic@{u} my-topic@{1} my-topic . git range-diff diff ( git-diff(1) ) --color[=] --no-color. < >> diff /. diff git log . (OUTPUT STABILITY) range-diff . ( porcelain) range-diff ( --stable git-patch- id(1)). git-apply(1) range-diff . diff . --stat range-diff . range-diff range-diff ( --stat diffstat ). (CONFIGURATION) diff.color.* pager.range-diff ( ). git-config(1) . (EXAMPLES) : $ git range-diff @{u} @{1} @ git range-diff : -: ------- > 1: 0ddba11 Prepare for the inevitable! 1: c0debee = 2: cab005e Add a helpful message at the start 2: f00dbal ! 3: decafe1 Describe a bug @@ -1,3 +1,3 @@ Author: A U Thor -TODO: Describe a bug +Describe a bug @@ -324,5 +324,6 This is expected. -+What is unexpected is that it will also crash. ++Unexpectedly, it also crashes. This is a bug, and the jury is ++still out there how to fix it best. See ticket #314 for details. Contact 3: bedead < -: ------- TO-UNDO diff . git diff. ( ) ( ) ( ) git show git show . diff diff . "+What is unexpected" . range-diff --dual-color . diff diff diff -/+ diff . (ALGORITHM) : (least-cost assignment) . : diff < diff>> (context) diff . (false positives - ) / . : 1--2 A--C . A cherry-pick 2 C cherry-pick 1 ( ). : 1 A 2 B C <<>> . <<>> : 1 A / 2 --------' B C <<>> ( ) . C 1 c>0 : 1 ----. A | / 2 ----+---' B | `----- C c>0 `1` C . diff . (dummy nodes) : 1 ----. A | / 2 ----+---' B | o `----- C c>0 o o o o o--C diff C (fudge factor) . o--o () . 1 C 1--C, o--o 1--o, o--C 1 C . . n+m n*m n m . - (Jonker-Volgenant) (cubic) . : 1 ----. A | / 2 ----+---' B .--+-----' o -' `----- C c>0 o ---------- o o ---------- o (SEE ALSO) git-log(1) (GIT) git(1) Git 2.55.0 2026-06-29 GIT-RANGE-DIFF(1)