AI Help

How do I move an AI coding agent’s patch from an isolated worktree to my branch?

Review the isolated worktree's diff, commit the intended change and transfer it through the normal Git integration workflow.

Steps to follow

  1. Confirm the task worktree's branch, base and status. Inspect modified and untracked files before creating a commit.
  2. Use the app's supported transfer action or cherry-pick the reviewed commit onto the target branch when appropriate.
  3. Resolve conflicts in context and run the relevant checks on the target branch. Verify the transferred diff matches the intended fix.

Example in practice

Illustrative example. A search bug fix is committed in its worktree, then cherry-picked onto the feature branch and retested there.

Related AI help

Official guidance

OpenAI documentation