Skip to content

setup worktree file #21

@felipeS

Description

@felipeS

Cursors supports a setup-worktree file, which is a list of commands that are executed when a new worktree is created. I think this is useful for setups involving custom scripts and variables, e.g.:

{
  "setup-worktree": [
    "npm install",
    "cp $ROOT_WORKTREE_PATH/.local.env .local.env"
  ]
}

Would it be possible to have support for this file or a similar one in this CLI tool?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions