Skip to content

Công cụ định dạng & Mã

Trình xem Git Diff

Render unified diffs with side-by-side or inline view.

Runs in your browser

Ghi chú của biên tập viên

Understanding · @@-lines, plus, minus, that's the whole format.

Chương phân tích chuyên sâu này hiện chỉ có sẵn bằng tiếng Anh. Công cụ chuyển đổi ở trên hoạt động bằng ngôn ngữ của bạn; bài viết giải thích dài chưa được dịch.

Các câu hỏi thường gặp

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.

Mọi người cũng tìm kiếm

Công cụ liên quan

More in this room.

Xem tất cả trong Công cụ định dạng & Mã