"Local" selection still works in the worktree

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

This is super annoying and pushing me towards using Kilo Code - it’s practically unuseable after the latest update. My previous workflow involved letting Cursor do it’s thing, then I’d review changes in my preferred IDE (RubyMine) and commit them as I went along.

Now after the worktree BS has been introduced, I have to explicitly select “Local” - yet when I look in RubyMine, the changes haven’t been applied in the current branch, but in a worktree.

Assuming I’d done something wrong, I then tried and selected “Worktree” and my current branch instead of “Local” - same bullsh*t.

Wtf is going on here?

Steps to Reproduce

  1. Ask Cursor to make a change as “Local”; try the same with “Worktree” and current branch selection.
  2. Open any other IDE to review change - no uncommitted changes have been made in the current branch

Expected Behavior

I’d expect changes to be visible in the current branch.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.39 (Universal)
VSCode Version: 1.105.1
Commit: 60d42bed27e5775c43ec0428d8c653c49e58e260
Date: 2025-11-27T02:30:49.286Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 23.6.0

For AI issues: which model did you use?

Auto

Does this stop you from using Cursor

Yes - Cursor is unusable

1 Like

Hey, thanks for the report. I understand the issue - you select “Local”, but changes still go to the worktree instead of the current branch.

Could you please share:

  • Screenshot of the mode selection (Local/Worktree) before starting the agent
  • Output of the git worktree list command in the terminal
  • Screenshot from RubyMine showing changes in the worktree, not the main folder
  • Project folder path in Cursor (visible in the window header)

Also clarify: when the agent finishes, where exactly do you see the changed files - in ~/.cursor/worktrees/... or somewhere else?

Temporary workaround: open the worktree directory in RubyMine and commit from there (git worktree list will show the path).