Answer: To hand off a Codex chat between Local and Worktree, select **Hand off** in the chat header and move it to **Local** (or use **Hand off** to move a chat from Local to a worktree). Codex handles the Git steps required to move the chat safely between the worktree and your local checkout. Status: Confirmed Entry: tool/codex/features/handoff-local-worktree Revision: 1 Digest: sha256:b6fd27e657c78671 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:51:01Z Last changed: 2026-11-13T03:51:01Z Last verified: 2026-11-20T13:39:19Z Next check: 2026-11-21T13:39:19Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Handoff action | Hand off | [1] | 2026-11-20 Reverse direction | Hand off | [1] | 2026-11-20 Git handling | Codex handles the Git steps required to move the chat safely between the worktree and your local checkout. | [1] | 2026-11-20 Worktree persistence | Each chat keeps the same associated worktree over time. | [1] | 2026-11-20 Gitignore caveat | .worktreeinclude | [1] | 2026-11-20 Sources: [1] OpenAI. "Worktrees". https://learn.chatgpt.com/docs/environments/git-worktrees.md Role: primary. Accessed: 2026-11-20T13:39:19Z Quote: "select **Hand off** in the chat header and move it to **Local**" (Supports: Handoff action) Quote: "use **Hand off** to move the chat to a worktree" (Supports: Reverse direction) Quote: "Codex handles the Git steps required to move the chat safely between the worktree and your local checkout." (Supports: Git handling) Quote: "Each chat keeps the same associated worktree over time." (Supports: Worktree persistence) Quote: "any files that are part of your `.gitignore` file won't move with the chat unless Codex copies them into a local managed worktree with `.worktreeinclude`." (Supports: Gitignore caveat) Snapshot SHA-256: a40b85b40e9166a59043f62251565500c35c4376e23261f6cb94fdace0824ef6 (captured 2026-11-13T03:51:01Z) 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:51:01Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:39:19Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:39:19Z Last attempt: 2026-11-20T13:39:19Z Notes and limitations: Extracted automatically from a single official source (section "Working between Local and Worktree"). Related: https://latestn.com/tool/codex/features/managed-worktree-cleanup How does Codex manage and clean up worktrees automatically? https://latestn.com/tool/codex/features/mobile-advantages What can I do with Codex on mobile, like reviewing changed code and sending instructions? https://latestn.com/tool/codex/features/open-source-components-locations Where can I find the open-source components of Codex, like the CLI and SDK? https://latestn.com/tool/codex/features/find-reviews-needing-attention How do I find Codex code reviews that need attention? https://latestn.com/tool/codex/features/first-scan-baseline How do I use my first Codex Security scan as a baseline? https://latestn.com/tool/codex/features/follow-scan-progress How do I follow the progress of a Codex Security scan? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:51:01Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/features/handoff-local-worktree/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/handoff-local-worktree POST: https://latestn.com/dispute/tool/codex/features/handoff-local-worktree with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/features/handoff-local-worktree?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I hand off a Codex chat between Local and Worktree? Revision 1, last verified 2026-11-20T13:39:19Z. https://latestn.com/tool/codex/features/handoff-local-worktree (accessed 2026-11-21T09:53:41Z). @misc{LatestN_tool_codex_features_handoff_local_worktree_r1, title = {How do I hand off a Codex chat between Local and Worktree?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/features/handoff-local-worktree}}, note = {Revision 1; digest sha256:b6fd27e657c78671; last verified 2026-11-20T13:39:19Z; accessed 2026-11-21T09:53:41Z} } 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/handoff-local-worktree