I just installed Visual Studio Code 1.17 and opened a Git repository folder. When entering the Source Control tab I see a message "There are no active source control providers". I thought Git was baked into VSCode!?
To make matters worse, when I attempt to install additional SCM providers there is no option for Git. How do I get my Git back!?
Launch VS code, and in the left-hand menu, click on the Source Control icon for Git. It gives two options – Open Folder and Clone Repository. We can open a git repository folder or clone from a GitHub URL. We already set up a GitHub repository in the previous article.
If you don't see the checkbox for adding to source control – Git or Visual Studio Team Services, you can enable this from Options settings. From the main menu, Tools -> Options and then navigate to. Under the Plug-in Selection, you will find it is already set to “None.
Step 1: Go to the Settings in vscode. Step 2: Open settings. json. Step 4: just add the directory path where git is installed in your system.
So you manually create a branch from the Git itself. After cloning the project to your computer, If you open the project with Visual Studio Code, and when you try to change the branch, you might see your created branch is not in the list. This is a common issue and usually happens in VS Code IDE.
Are you using MacOS? If you've updated Xcode lately, you may need to accept Xcode's terms of service agreement to use git.
$ sudo xcodebuild -license accept
Wow I spent so long on this. For me I had to go to the Extensions area > then click the ... at top right of menu > Show built-in Extensions
Git built-in extension was disabled!!
What helped me is setting the value of git.path
setting to the full path of my git.exe
file. After that I was able to see the git logo:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With