diff-so-fancy
Good-lookin' diffs. A tool that makes your diffs human-readable instead of machine-readable.
오픈 소스터미널
Windows, macOS, Linux⭐⭐Free (MIT License)
설명
diff-so-fancy is a terminal-based diff viewer that makes your diffs human-readable instead of machine-readable. It strips away the leading characters (+/-) and adds spacing for better readability. It works as a filter for git diff output, transforming it into something much easier to read.
주요 기능
- Word-level diffs instead of line-level for better change visibility
- Clean output without + and - prefixes cluttering the view
- Seamless Git integration with simple configuration
- Customizable colors and formatting to match your preferences
- Works with any pager (less, more, etc.)
- Automatically detects and highlights moved code blocks
- Smart indentation preservation
설치
npm install -g diff-so-fancy
# Or using Homebrew on macOS:
brew install diff-so-fancy
# Then configure Git:
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"사용법
# Use with git diff
git diff | diff-so-fancy
# Configure as default pager
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
# Then just use git normally
git diff
git show HEAD~1장점
- +Extremely easy to install and configure
- +No learning curve - works with existing git workflow
- +Makes terminal diffs much more readable
- +Lightweight and fast
- +Works with all git commands that produce diffs
단점
- -Terminal-only, no GUI
- -Limited to text files
- -No merge capabilities
- -Requires Node.js or Perl
빠른 정보
- 유형
- 오픈 소스
- 플랫폼
- Windows, macOS, Linux
- 가격
- Free (MIT License)
- 카테고리
- 터미널
- 인기
- ⭐⭐
대안
- Delta
- GitHub CLI
- GitKraken
관련 도구
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.
Delta
Syntax-highlighting pager for git, diff, and grep output. Beautiful diffs in terminal.