From 67b6b671850132129e4637b790e3df4f60b38359 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 15 Mar 2023 19:24:33 -0400 Subject: [PATCH] Ensures to pick first entry for remote branches --- src/commands/git/worktree.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/git/worktree.ts b/src/commands/git/worktree.ts index 54efeca..880b518 100644 --- a/src/commands/git/worktree.ts +++ b/src/commands/git/worktree.ts @@ -608,7 +608,7 @@ export class WorktreeGitCommand extends QuickCommand { [ createFlagsQuickPickItem( state.flags, - [], + isRemoteBranch ? ['-b'] : [], { label: isRemoteBranch ? 'Create Local Branch and Worktree' : context.title, description: ' in subfolder',