FahamLah

Commands

git range-diff

git range-diff <base> <old-tip> <new-tip>

Risk: Safe

What it does

Compares two versions of a branch, commit by commit.

When to use it

After a rebase, or to review version 2 of a branch.

Example

$ git range-diff main feature@{1} feature

Compare the branch before and after your rebase.