Command reference ยท Antigravity CLI
/diff
Opens the interactive diff viewer with three modes (VCS/Turn/Commit).
/diff belongs to the Utilities category. Tab, โ or โ cycle through VCS, Turn, and Commit mode; c adds a comment on the current line, d deletes it, n/N jump between hunks, and Shift+Y sends the comments you've set to the agent while Shift+N discards them.
โ WHEN TO USE IT?
Review the changes from a single turn
Open /diff, switch to Turn mode with Tab, and check the latest change
Send inline comments on individual hunks back to the agent
Open /diff, add a comment to a line with c, and send it with Shift+Y
โ WHEN NOT TO?
You want an assessment of the changes, not just the raw diff text
/diff only displays the diff text โ it doesn't evaluate it.
Better: Ask the agent directly in the prompt to summarize or assess the changes
SOURCES
- Antigravity CLI Doku: Command-Referenz โ antigravity.google
- Antigravity CLI Doku: /diff โ antigravity.google