Delta
Syntax-highlighting pager for git, diff, and grep output. Beautiful diffs in terminal.
Open SourceTerminale
Windows, macOS, Linux⭐⭐⭐Free (MIT License)
Descrizione
Delta is a syntax-highlighting pager for git, diff, and grep output. Written in Rust, it provides beautiful, colorized diff output in your terminal with features like side-by-side view, line numbers, and hyperlinks. Delta is designed to be a drop-in replacement for git's default pager.
Caratteristiche principali
- Syntax highlighting for 50+ languages
- Side-by-side diff view
- Line-by-line and character-level diffs
- Git integration with automatic detection
- Hyperlinks to files and commits
- Customizable colors and styles
- File header decorations
- Supports merge conflicts display
- Hunk annotations and custom decorators
Installazione
# macOS (Homebrew)
brew install git-delta
# Linux (Ubuntu/Debian)
sudo apt install git-delta
# Or download binary from GitHub
# https://github.com/dandavison/delta/releases
# Configure Git
git config --global core.pager deltaUtilizzo
# Delta automatically works as git pager after configuration
git diff
git log -p
git show
# Side-by-side view
git diff --side-by-side
# Configure in ~/.gitconfig
[core]
pager = delta
[interactive]
diffFilter = delta --color-onlyPro
- +Beautiful, modern output
- +Very fast (written in Rust)
- +Excellent git integration
- +Highly customizable
- +Active development
Contro
- -Terminal only, no GUI
- -Many configuration options can be overwhelming
- -Requires manual git configuration
- -No merge capabilities
Informazioni rapide
- Tipo
- Open Source
- Piattaforme
- Windows, macOS, Linux
- Prezzo
- Free (MIT License)
- Categoria
- Terminale
- Popolarità
- ⭐⭐⭐
Alternative
- diff-so-fancy
- GitHub CLI
- GitKraken
Strumenti correlati
diff-so-fancy
Good-lookin' diffs. A tool that makes your diffs human-readable instead of machine-readable.
Meld
Visual diff and merge tool for developers. Compare files, directories, and version controlled projects.
KDiff3
Free diff and merge program for comparing or merging two or three files/directories.
WinMerge
Open Source differencing and merging tool for Windows. Compare folders and files visually.