(solved) git not found by vscode in Windows 10

by oat   Last Updated October 20, 2019 05:26 AM - source

I tried many suggestions and git is still not shown on the source control panel in vscode in windows 10:

enter image description here

My git is installed as the following:

C:\Users\name>git --version
git version 2.23.0.windows.1

C:\Users\name>where git
C:\Program Files\Git\cmd\git.exe

Git is enabled in my vscode:

enter image description here

Git path is set as shown above in settings.json:

enter image description here

enter image description here

The @builtin search in Extensions also shows that the built-in Git is enabled:

enter image description here

What I shall do to get that little Git icon shown in Source Control, as shown below?

enter image description here



Answers 1


As @jhpratt suggested:

  1. open a local folder containing a repo cloned from Github:

enter image description here

enter image description here

  1. Git will show up on source control panel:

enter image description here

  1. Changes made in a file will be identified:

enter image description here

  1. Stage and commit the change:

enter image description here

  1. ... and push the committed changes:

enter image description here

  1. The committed changes are updated in Github:

enter image description here

oat
oat
October 20, 2019 05:24 AM

Related Questions




Visual Studio Code Git Extension for branches

Updated December 03, 2018 09:26 AM

How to run Code Analysis on x64 Project in Visual C++?

Updated October 27, 2017 08:26 AM