Skip to content

"Create Worktree" flow improvements #3542

@ramin-t

Description

@ramin-t

When using “create worktree”, there is a step where you have two options: “create worktree for branch” and “create worktree for new branch named…”

Just have one option: “Create worktree for branch”. If the branch you selected in a previous step is already a worktree, or is main, etc., “Create worktree” for branch” functions just like clicking “create worktree for new branch named…” did. Otherwise, it functions just like “Create worktree for branch” did.

Remove the option to “choose a different folder”. <-- EDIT: We will do this later, not in this scope

There is a bug where you enter the worktree flow after creating a new branch, where the option says “create worktree for new branch named…” even though you already created the branch. That should be fixed by this update too.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions