News

Git Delta is a Syntax Highlighting Pager for git, diff, and grep output

Published
Git Delta is a Syntax Highlighting Pager for git, diff, and grep output image

Delta is a syntax-highlighting pager in your CLI for git, diff, and grep output. It has a rich feature set that gives you a much better Git CLI experience over the default:

  • Language syntax highlighting
  • Custom light and dark themes
  • Word-level diff highlighting
  • Side-by-side view with line wrapping
  • Line numbers
  • Integrates with Git
  • Navigation key bindings to move between files in large diffs
  • Improved merge conflict display
  • And much more

Here's an example diff from Laravel v10.22.0 - v10.23.0 using the default diff setup:

After configuring delta with Git, here's an example of the default theme using the side-by-side configuration option:

You can see immediately how much easier it is to understand which lines have changed, the file path, and it gives you navigation key bindings to work with diffs in the CLI.

Delta works on a large variety of operating systems—check out the Installation guide to get started. Afterwards, dive into the extensive official delta documentation to set up delta with Git and customize it to your style. You can see the source code on GitHub at dandavison/delta.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Filed in

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
whereBinary(): Case-Sensitive MySQL Queries in Laravel image

whereBinary(): Case-Sensitive MySQL Queries in Laravel

Read article
Compile PHP to Native Binaries with TypePHP image

Compile PHP to Native Binaries with TypePHP

Read article
State of Laravel 2026 Survey Is Now Open image

State of Laravel 2026 Survey Is Now Open

Read article
Testing Best Practices Skill in Laravel Boost v2.6.0 image

Testing Best Practices Skill in Laravel Boost v2.6.0

Read article
Query Binding Masking and whereBinary() in Laravel 13.27 image

Query Binding Masking and whereBinary() in Laravel 13.27

Read article
Laravel AI: Load Tools On Demand With ToolSearch image

Laravel AI: Load Tools On Demand With ToolSearch

Read article