Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to configure Git manually in VSCode

Shulou Source: shulou.com Published: 2022-05-31 10:46:55 09月23日 Update

Today Xiaobian to share with you how to manually configure Git related knowledge points in VSCode, detailed content, clear logic, I believe most people still know too much about this knowledge, so share this article for everyone to refer to, I hope you have some gains after reading this article, let's learn about it together.

The computer has installed git, but when pulling code on VSCode, git cannot be found, prompting to install git.

Git installation not found

VSCode will automatically query the default address. If you can't find it, you need to manually configure the installed Git.

1) Settings

Select the Settings button in the lower left corner and select Settings

git.path

Search git.path directly in the input box

git.path

Click Edit in settings.json and enter the installation path of Git on your computer.

III. Add Path

Enter git.exe path of git.path in json file

{ "git.path": "D:/01java/Git/bin/git.exe", "workbench.iconTheme": "vscode-icons"}

Note: The path should be written in the form of "/"

The above is "VSCode how to manually configure Git" all the content of this article, thank you for reading! I believe everyone has a great harvest after reading this article. Xiaobian will update different knowledge for everyone every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Tags: Knowledge article path manual configuration input content computer selection different big code address most that is form button file is in more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info macOS Shulou Technology Docker Shulou Information