Egor Urvanov

Diff

Access, account and payment · difference between file versions

A diff is a display of changes: the old lines of a file next to the new ones, marked with what was removed and what was added. An agent shows the diff before writing to a file, so the person sees the difference and decides whether to confirm it. This is how an edit is reviewed before it has changed anything.

Frequently asked questions

What is a diff?

A display of the difference between the old and new version of a file.

Why look at the diff before writing?

To see what exactly will change and refuse while the file is untouched.

How do you read a diff?

Lines with a minus are removed, lines with a plus are added, the rest stay as they were.

Source: Wikipedia: Diff

Read more: Codex CLI not available in your country: supported countries, VPN and bans

Where it appears · 4

Related terms

Whole glossary

© 2026 Egor Urvanov