LinuxCommandLibrary

git-delta

Highlight changes in git diff and show

TLDR

List files from the current checked out branch that differ from the main branch

$ git delta [main]
copy

List files from a specific branch that differ from another specific branch
$ git delta [branch_1] [branch_2]
copy

SYNOPSIS

delta [OPTIONS] [FILE...]
git diff | delta [OPTIONS]
git log -p | delta [OPTIONS]
diff -u | delta [OPTIONS]

PARAMETERS

--side-by-side
    Display changes side-by-side for easier comparison of modified lines.

--line-numbers
    Show line numbers on the left and/or right side of the diff display.

--syntax-theme
    Apply a specific syntax highlighting theme (e.g., `ansi`, `solarized-light`).

--paging
    Control when delta should use a pager: `auto` (default), `always`, or `never`.

--width
    Set the screen width, useful for adjusting the layout of side-by-side views.

--minus-style