Version Control in Visual Studio Code | vscode push git
VisualStudioCodehasintegratedsourcecontrolmanagement(SCM)andincludesGit[1]supportout-of-the-box.Manyothersourcecontrolprovidersareavailablethroughextensions[2]ontheVSCodeMarketplace.WorkinginaGitrepositoryJustgettingstartedwithGit?Thegit-scm[3]websiteisagoodplacetostart,withapopularonlinebook[4],GettingStartedvideos[5]andcheatsheets[6].TheVSCodedocumentationassumesyouarealreadyfamiliarwithGit.MakesureGitisinstalled.VSCodewilluseyourmachinesGitinstallation(atleastversion2.0.0),soyouneedtoinst...
Visual Studio Code has integrated source control management (SCM) and includes Git[1] support out-of-the-box. Many other source control providers are available through extensions[2] on the VS Code Marketplace.
Working in a Git repositoryJust getting started with Git? The git-scm[3] website is a good place to start, with a popular online book[4], Getting Started videos[5] and cheat sheets[6]. The VS Code documentation assumes you are already familiar with Git.
Make sure Git is installed. VS Code will use your machines Git installation (at least version 2.0.0), so you need to install Git[7] first before you get these features.
The Source Control icon in the Activity Bar on the left will always indicate an overview of how many changes you currently have in your repository. Selecting the icon will show you the details of your current repository changes: CHANGES, STAGED CHANGES and MERGE CHANGES.
Clicking each item will...