Wtf is worktree and how can I disable this forever

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Just need to know how I can disable worktrees

Steps to Reproduce

Work in IDE and worktree randomly disrupts my flow

Operating System

Windows 10/11

Version Information

Version 2.4.21

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

unless you specifically select a worktree, it will never be used on its own

lookup git worktrees, it is highly useful tool, simple to understand

basically when you create a new worktree, your current repository is cloned elsewhere and linked so you can make two different changes at the same time and merge them better