Codex Desktop fails creating worktree for branch
Open 💬 2 comments Opened Jun 29, 2026 by JKamsker
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.623.42026 • Released 27.06.2026
What subscription do you have?
PRO
What platform is your computer?
Linux 7.0.0-15-generic x86_64 unknown | Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
[info] Starting worktree creation
fatal: invalid reference: codex/add-datetime-rpc-support
[stderr] git worktree add failed: fatal: invalid reference: codex/add-datetime-rpc-support
What steps can reproduce the bug?
- Have a repo on github
- On remote server, only main is checked out
- In codex app: Create new worktree from branch which exists on github
What is the expected behavior?
Worktree is being created successfully
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗