Review and commit from your phone
The agent has finished — check every line, keep what you need and send the commit without opening the laptop.
-
1
Open the changes
On the phone, open the Review tab. The branch and the number of changed files are at the top, the file list below.
The Review tab -
2
Check the diff
Tap a file to open its line-by-line diff: additions in green, removals in red. Switch between “working copy ↔ index ↔ last commit”.
Line-by-line file diff -
3
Build the index
“Stage” keeps the file's changes, “Discard changes” puts the file back as it was. Per file or all at once; “Unstage” if you change your mind.
“Discard changes” returns the file to the last commit — the agent's edits in it are lost.
-
4
Commit and push
Type a message and tap “Commit” — or “Commit & Push” to push to your remote right away. “Amend last commit” is in the menu next to the button.
The agent reports it's done — time to commit