Skip to content

Commit 5f5de2b

Browse files
committed
fix checkout branchs/tags
1 parent 7e26f84 commit 5f5de2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/git/src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ export class CommandCenter {
381381
@CommandCenter.CatchErrors
382382
async checkout(): Promise<void> {
383383
const config = workspace.getConfiguration('git');
384-
const checkoutType = config.get<string>('checkoutType');
384+
const checkoutType = config.get<string>('checkoutType') || 'all';
385385
const includeTags = checkoutType === 'all' || checkoutType === 'tags';
386386
const includeRemotes = checkoutType === 'all' || checkoutType === 'remote';
387387

0 commit comments

Comments
 (0)