Can not handoff worktree caused by the incorrect git state.

Open 💬 1 comment Opened Jun 3, 2026 by kdletters

What version of the Codex App are you using (From “About Codex” dialog)?

26.601.21317

What subscription do you have?

free

What platform is your computer?

win64

What issue are you seeing?

<img width="443" height="359" alt="Image" src="https://github.com/user-attachments/assets/eba839c8-23ff-4ea6-986f-2c169797814b" />

<img width="671" height="155" alt="Image" src="https://github.com/user-attachments/assets/ab8158a9-1e96-4dc1-a379-93500128227c" />

What steps can reproduce the bug?

  1. add a remote project by ssh
  2. create a new chat with New worktree
  3. create a branch, do some changes and commit
  4. handoff to branch

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗