格式化与代码
Git Diff 查看器
Render unified diffs with side-by-side or inline view.
编辑注
Understanding · @@-lines, plus, minus, that's the whole format.
本深度章节目前仅有英文版本。上方的转换工具支持您的语言;长篇说明文章尚未翻译。
常见问题
Quick answers.
›What is a unified diff?
Unified diff is a standard text format that represents changes between two files. It typically uses `+` for additions, `-` for deletions, and context lines to show where the change occurred.
›Is my code shared with any external servers?
No. The diff viewer operates entirely within your local browser environment. Your patch data and file contents are processed on your device and never leave it.
›Which view mode should I use?
Side-by-side view is best for comparing structural changes across files, while inline view is more compact and traditional for reviewing quick logic updates.
›Does this tool support syntax highlighting?
Yes. The viewer attempts to detect the programming language automatically or through file headers to provide appropriate syntax highlighting for better readability.
大家也在搜索
相关工具