git-split-diffs brings the familiar GitHub split-diff experience directly into your terminal. Instead of viewing unified diffs, you get side-by-side code comparisons with full syntax highlighting, making it easier to review changes at a glance.
Key features include:
Install globally via npm and configure as your git pager, or use it manually by piping git diff output. The tool automatically falls back to unified diffs on narrow terminals to maintain readability. Perfect for developers who prefer terminal-based workflows but want the clarity of GitHub's split-diff interface.
$ npm install -g git-split-diffsActivity score
85/100
Stars
Forks
Latest version
Last commit
First release
Language
License
Auto-fetched .
★ 18k · v7.5.0 · shell