Dev Radar
Support
LiveUpdated 2026-11-25 18:41 UTC

当你在远端 Linux 开发机上通过 SSH 写代码,或者在本地终端里快速审阅 Coding Agent 刚刚改出来的几十个文件时,怎么看 Git Diff 最舒服?

当你在远端 Linux 开发机上通过 SSH 写代码,或者在本地终端里快速审阅 Coding Agent 刚刚改出来的几十个文件时,怎么看 Git Diff 最舒服? 直接敲原生的 git…

This is a dev post classified by AGK Intelligence as Terminal & editor (a tool drop), kept by the Dev Radar because it carries real work, not commentary.

当你在远端 Linux 开发机上通过 SSH 写代码,或者在本地终端里快速审阅 Coding Agent 刚刚改出来的几十个文件时,怎么看 Git Diff 最舒服? 直接敲原生的 git diff,满屏红绿交替的单列补丁在重构缩进或移动函数时极其容易看串行;而如果为了看个差异专门拉起图形界面的 VS Code Remote 或者切去浏览器开 GitHub PR 页面,又太打断终端流的专注节奏。 这周登上 Hacker News 的开源项目 dffy,用 纯 Rust 实现了一个专门驻留在命令行里的终端原生(Terminal-Native)交互式 Git Diff 审阅器。 它把桌面 IDE 里最核心的代码审查体验浓缩成了一个零延迟的单二进制程序:启动后直接在终端里渲染出清晰的左侧变更文件树与右侧双栏并排(Side-by-Side)或统一视图对比面板,内置了精准的词法级语法高亮、行内细粒度字符差异标记、未改动上下文自动折叠以及全键盘快捷键跳转。哪怕是在跨国高延迟的 SSH 与 tmux 窗格里,翻阅几千行的跨模块改动也依然丝滑跟手。

Posted by lifcc (20.3k followers) 8 days ago · 21 likes · 1.6k views · view the original post on X. Kept by the Dev Radar as Terminal & editor.

More dev work like this

Every post is read and classified by AGK Intelligence: what it is, which market it belongs to, and whether the link is a real tool. 13.4k posts from 5k X accounts over the last 21 days, 10.1k tools, 12 markets. New posts are collected several times an hour and the full ranking is recomputed every hour — last update 2026-11-25 18:41 UTC. Full method.