Skip to content

CMD + N creates new file with no worktree scope #86

@Rishabh-Negi

Description

@Rishabh-Negi

What happened?
While working I created a new file using cmd + n and accidently changed my worktree and noticed that this file ( untitled file ) was present in all worktree

What did you expect?

File should only be present in correct worktree to avoid accidently saving it in wrong worktree

Steps to reproduce

  1. cmd + n to create a new file add some content ( not sure on content part )
  2. switch worktree

Environment

  • OS:
  • Bun version:
  • ws version:
  • Agent (claude/codex/aider):

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions