-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
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.