LinuxCommandLibrary

git-delta

TLDR

List touched files

$ git delta [branch1] [branch2]
copy
Compare with main
$ git delta main
copy
Show added files
$ git delta [branch] --added
copy

SYNOPSIS

git delta branch1 [branch2]

DESCRIPTION

git delta lists files that differ between two branches. It provides a quick way to see which files have been added, modified, or removed between branch points.
The command simplifies comparing branches for code review preparation or deployment planning. Unlike git diff, it shows only file names without content.
git delta offers quick file-level branch comparison.

PARAMETERS

BRANCH1

First branch to compare.
BRANCH2
Second branch (default: current).
--added
Show only added files.
--removed
Show only removed files.
--help
Display help information.

CAVEATS

Part of git-extras package. Shows files, not content. Also a popular diff viewer tool (different project).

HISTORY

git delta in git-extras provides file-level branch diff. Note: There's also a separate delta project that's a syntax-highlighting diff viewer.

SEE ALSO

git-diff(1), git-log(1)

Copied to clipboard