delta

delta

Rust-powered syntax-highlighting pager for Git, diff, blame, and ripgrep output with side-by-side views and word-level diffs.

★ 33.0K

Read Git diffs in your terminal with full syntax highlighting and word-level precision

Default `git diff` output paints entire lines bright red or green even when you only changed a single variable name or comma inside a long function signature. delta replaces Git’s plain pager with a Rust-built diff engine that highlights exact word-level edits while preserving full language syntax coloring. Backed by 33.0K GitHub stars and 781 forks under the MIT license, it turns terminal code review into a clean, readable experience.

Why delta upgrades every Git workflow

  • Word-level diff highlighting pinpoints the exact characters modified inside refactored lines using the same Sublime syntax definitions as `bat`.
  • Side-by-side view (`–side-by-side`) with line numbering aligns old and new code blocks clearly on wide terminal monitors.
  • Moved-code detection colors relocated functions distinctly so reviewers can tell pure cut-and-paste moves apart from logic edits.
  • Seamless integration formats `git log -p`, `git show`, `git blame`, merge conflicts, and `ripgrep –json` search matches automatically.

One setup tip for terminal multiplexers

Enabling clickable file and commit hyperlinks (`hyperlinks = true`) works best when your terminal emulator and multiplexer pass OSC 8 escape sequences through cleanly. Install `git-delta` and add `core.pager = delta` to your `~/.gitconfig` today to upgrade every diff and blame output immediately.

Ready to try delta?

Experience the full capabilities on their official website.

Visit Official Website