macOS
brew install git-split-diffslocal Homebrew formula metadata
安装
brew install git-split-diffslocal Homebrew formula metadata
概览
Syntax highlighted side-by-side diffs in your terminal
历史
git-split-diffs is a Node-based Git pager that renders GitHub-style side-by-side diffs with syntax highlighting inside a terminal.
The GitHub repository began in 2021, and early tags followed within days. The README presents the project around a visual goal: bringing split, side-by-side diffs with GitHub-like styling into command-line review sessions.
The tool evolved as a terminal formatter built from familiar JavaScript packages, including shiki for VS Code-style syntax highlighting, chalk for terminal color, and diff parsing utilities. Its 2.x release line kept the same core idea while raising the Node engine baseline and refining packaging.
git-split-diffs gained attention among developers who prefer richer diff review without leaving the shell. It is distributed through npm and Homebrew, and its repository acknowledges nearby tools such as diff-so-fancy and delta, placing it in the ecosystem of Git pager replacements.
Practitioners usually configure Git's core.pager to pipe colored diffs through git-split-diffs and less, or run git diff into the command manually. Git config keys tune wrapping, inline change highlighting, syntax themes, terminal width fallback, and custom theme directories.
The project is notable because it packages a modern editor-like diff presentation as a small CLI rather than as an IDE feature. For package managers, it is a clear example of the Node CLI pattern applied to developer ergonomics around Git review.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.git/config~/.gitconfig~/.config/git/config/etc/gitconfig可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
git-split-diffs | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/banga/git-split-diffs
安装元数据
| 软件包键 | brew:git-split-diffs |
|---|---|
| 版本 | 2.3.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/git-split-diffs |
| 主页 | https://github.com/banga/git-split-diffs |
| 仓库 | https://github.com/banga/git-split-diffs |
| 上游文档 | https://github.com/banga/git-split-diffs#readme |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/git-split-diffs/-/git-split-diffs-2.3.0.tgz |
| 最后更新 | 2026-06-18T09:25:51+09:00 |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git-split-diffs |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.