外部 Diff 工具介绍
diff-so-fancy
Git diff filter that makes terminal diffs easier to scan by improving spacing, colors, file headers, and changed-line presentation.
类型
Terminal
授权
Open source
平台
Windows, macOS, Linux
适合场景
Developers who want prettier Git diffs while keeping their existing terminal and pager workflow.
优点
- Very simple Git pager upgrade
- Readable terminal output
- Lightweight workflow
限制
- Terminal-only
- No merge UI
- Less feature-rich than Delta for side-by-side review
核心能力
Cleaner Git diff output
Improved headers and hunk display
Pager integration
Configurable colors
安装说明
npm install -g diff-so-fancymacOS: brew install diff-so-fancy