LinuxCommandLibrary

git-missing

Show commits missing between branches

TLDR

Show commits missing from branch

$ git missing [branch]
copy
Compare two branches
$ git missing [branch1] [branch2]
copy

SYNOPSIS

git missing [branch1] [branch2]

DESCRIPTION

git missing shows commits that exist in one branch but not the other. This git-extras command performs a symmetric comparison, revealing what changes are unique to each branch.
The command is particularly useful before merging, as it clearly shows what commits will be introduced from each side. It essentially performs `git log branch1..branch2` and `git log branch2..branch1` to provide a bidirectional view of branch divergence.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community