Answer: You can stage, unstage, or revert changes at three levels: the entire diff using action buttons in the review header such as Stage all or Revert all, per file, or per hunk. Status: Confirmed Entry: tool/codex/features/stage-revert-files Revision: 1 Digest: sha256:12a94d7dab121a49 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:48:04Z Last changed: 2026-11-13T03:48:04Z Last verified: 2026-11-20T13:35:41Z Next check: 2026-11-21T13:35:41Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of entire diff actions | Stage all | [1] | 2026-11-20 entire diff revert action | Revert all | [1] | 2026-11-20 per file | Stage, unstage, or revert an individual file. | [1] | 2026-11-20 per hunk | Stage, unstage, or revert a single hunk. | [1] | 2026-11-20 Sources: [1] OpenAI. "Code review". https://learn.chatgpt.com/docs/code-review.md Role: primary. Accessed: 2026-11-20T13:35:41Z Quote: "Use the action buttons in the review header, such as **Stage all** or **Revert all**." (Supports: entire diff actions, entire diff revert action) Quote: "**Per file**: Stage, unstage, or revert an individual file." (Supports: per file) Quote: "**Per hunk**: Stage, unstage, or revert a single hunk." (Supports: per hunk) Snapshot SHA-256: c18b2fe184104facf5d044631ee151b2394baab1c44218be8b9d60c7dbd33020 (captured 2026-11-13T03:48:02Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:48:04Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:35:41Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:35:41Z Last attempt: 2026-11-20T13:35:41Z Notes and limitations: Extracted automatically from a single official source (section "Staging and reverting files"). Related: https://latestn.com/tool/codex/features/standard-vs-deep-scan What is the difference between a standard scan and a deep scan in Codex? https://latestn.com/tool/codex/features/start-first-cloud-task How do I start my first coding task in Codex Cloud? https://latestn.com/tool/codex/features/start-first-task How do I start my first task with Codex CLI? https://latestn.com/tool/codex/features/scan-local-checkout How do I scan my local checkout with Daybreak Defense Factory? https://latestn.com/tool/codex/features/security-scan-output What does a Codex Security scan create and does it modify my source code? https://latestn.com/tool/codex/features/share-codex-thread-snapshot How do I share a read-only snapshot of a Codex thread? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:48:04Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/features/stage-revert-files/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/features/stage-revert-files POST: https://latestn.com/dispute/tool/codex/features/stage-revert-files with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/features/stage-revert-files?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I stage or revert files during a Codex code review? Revision 1, last verified 2026-11-20T13:35:41Z. https://latestn.com/tool/codex/features/stage-revert-files (accessed 2026-11-21T09:54:31Z). @misc{LatestN_tool_codex_features_stage_revert_files_r1, title = {How do I stage or revert files during a Codex code review?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/features/stage-revert-files}}, note = {Revision 1; digest sha256:12a94d7dab121a49; last verified 2026-11-20T13:35:41Z; accessed 2026-11-21T09:54:31Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/features/stage-revert-files