How to review Codex changes before committing on Mac
When Codex finishes editing, open the repository in Branchline and go through the actual Git diff. You can decide what to keep, run your checks, and see what will reach the remote.
Start with the files Codex changed
Open the same repository or worktree that Codex used. Press ⌘0 to show Commit, then check both Changes and Unversioned Files. Click a filename to open its diff. Use F7 to jump to the next change.
For a TypeScript change, I start with the component, then look for the test that covers the new behavior. I also look at any lockfile or config changes separately. A one-line component fix rarely needs an unrelated dependency update in the same commit.
Run your checks and choose the files to commit
Press ⌥F12 to open a terminal in the repository. Run the tests or formatter you normally use, then read the diff again if a command rewrites files. In Commit, tick the boxes next to the files that belong together.
The checkboxes select whole files. If Codex and you edited the same file and you only want some of its changes, stage those hunks with git add -p in the terminal, then use Git Index mode in the Commit panel.
Check the destination before you push
After committing, use ⌘9 to see the commit in Git Log. Open Push to review the destination branch and the list of outgoing commits. This is worth a look if you already had local commits when Codex started working.
Try it with a sample repository
Choose Open Demo in Branchline to see the workflow on sample files. Branchline is free, open source, and runs on macOS 14 or later on Apple Silicon and Intel.
Download for macOS