From 9a3db30a7a99e95fc566ba86003fd53200b31b7f Mon Sep 17 00:00:00 2001 From: Vighnesh Kulkarni Date: Tue, 24 Aug 2021 03:25:47 +0530 Subject: [PATCH] Added a new step when git is not installed. Fixes #125349 (#131082) --- .../gettingStarted/common/gettingStartedContent.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/vs/workbench/contrib/welcome/gettingStarted/common/gettingStartedContent.ts b/src/vs/workbench/contrib/welcome/gettingStarted/common/gettingStartedContent.ts index 83def55ce55..d9498515b35 100644 --- a/src/vs/workbench/contrib/welcome/gettingStarted/common/gettingStartedContent.ts +++ b/src/vs/workbench/contrib/welcome/gettingStarted/common/gettingStartedContent.ts @@ -326,6 +326,15 @@ export const walkthroughs: GettingStartedWalkthroughContent = [ type: 'svg', altText: 'Source Control view.', path: 'git.svg', }, }, + { + id: 'installGit', + title: localize('gettingStarted.installGit.title', "Install Git"), + description: localize('gettingStarted.installGit.description.interpolated', "Install Git to track changes in your projects.\n{0}", Button(localize('installGit', "Install Git"), 'https://aka.ms/vscode-install-git')), + when: 'git.missing', + media: { + type: 'svg', altText: 'Install Git.', path: 'git.svg', + }, + }, { id: 'tasks', title: localize('gettingStarted.tasks.title', "Automate your project tasks"),