"Create branch here" button does not appear for worktree thread
Open 💬 7 comments Opened Feb 2, 2026 by nicoreese
💡 Likely answer: A maintainer (gpeal, contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.92.0
What subscription do you have?
Plus
Which model were you using?
gpt-5.2-codex
What platform is your computer?
macOS
What terminal emulator and version are you using (if applicable)?
_No response_
What issue are you seeing?
According to the docs, you should be able to select between two options when working in separate worktree mode: "Sync with local" or "Create branch here". I only see the first option.
https://developers.openai.com/codex/app/worktrees#option-2-working-in-your-local-checkout
<img width="1665" height="433" alt="Image" src="https://github.com/user-attachments/assets/3a5ba01e-9237-4ea9-88bd-f6acf70f46d3" />
What steps can reproduce the bug?
Uploaded thread: 019c0d37-d2b6-74c0-918f-0e64af9b6e14
Create a new thread, select worktree mode. After the task is done I only see a "Sync with local" button in the top toolbar.
What is the expected behavior?
I would expect to see a "Create branch here" button as mentioned in the docs.
Additional information
_No response_
7 Comments
When you created the worktree, was the starting branch your default branch or a feature branch? For now, you can only choose to create a branch if the worktree started from the default branch. If that doesn't work for you, could you walk me through your workflow so we can understand it better?
<img width="620" height="348" alt="Image" src="https://github.com/user-attachments/assets/a6e24a77-ffb3-4a58-b729-8cd140457174" />
I tried with the "dev" branch and that did not work. The default branch works and the button appears, thanks!
There's no way to set a different default branch, is there?
I am seeing this issue even when starting the worktree from main (tried both main and "main with local changes") -- I only ever see "sync with local" in worktrees
I have also have the same issue..
<img width="815" height="217" alt="Image" src="https://github.com/user-attachments/assets/c41e9a40-ba7f-4f48-8e6d-fc7321ce507b" />
@tibo-openai Could you please help with this blocking issue? I noticed it since yesterday :/ all my work trees are broken
<img width="961" height="621" alt="Image" src="https://github.com/user-attachments/assets/35fc0ea7-0434-4867-80d1-d8c03060be2e" />
I think I found it here
I had to keep my Review panel open.
Then click button on the top-right corner besides the three dots
<img width="2069" height="694" alt="Image" src="https://github.com/user-attachments/assets/44ae4420-57b9-417f-8276-fa0138f44c9c" />
Aahh, I also find intermittently showed up here , on the right side panel
<img width="1116" height="628" alt="Image" src="https://github.com/user-attachments/assets/ebbc6381-6a4f-4b7d-a250-4524e42feb83" />