Skip to content

Formateurs & Code

Afficheur de Diff Git

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

Runs in your browser

Note de la rédaction

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

Ce chapitre approfondi n'est actuellement disponible qu'en anglais. L'outil de conversion ci-dessus fonctionne dans votre langue ; le long article explicatif n'a pas encore été traduit.

Questions fréquentes

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.

Les internautes recherchent aussi

Outils similaires

More in this room.

Tout voir dans Formateurs & Code