Delta
Syntax-highlighting pager for git, diff, and grep output. Beautiful diffs in terminal.
オープンソースターミナル
Windows, macOS, Linux⭐⭐⭐Free (MIT License)
説明
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.
主な機能
- 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
インストール
# 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 delta使用方法
# 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-only長所
- +Beautiful, modern output
- +Very fast (written in Rust)
- +Excellent git integration
- +Highly customizable
- +Active development
短所
- -Terminal only, no GUI
- -Many configuration options can be overwhelming
- -Requires manual git configuration
- -No merge capabilities
クイック情報
- タイプ
- オープンソース
- プラットフォーム
- Windows, macOS, Linux
- 価格
- Free (MIT License)
- カテゴリ
- ターミナル
- 人気
- ⭐⭐⭐
代替案
- diff-so-fancy
- GitHub CLI
- GitKraken
関連ツール
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.