VSCode configures git graphics

content

1. settings

二、git.path

3. Add path


1. settings

电脑已经安装了git,但是在VSCode上面拉取代码时却却找不到git,提示要安装git
Git installation not found

VSCode会自动查询默认地址,找不到就需要手动配置安装好的Git了

Select the settings button in the lower left corner, select settings

二、git.path

Search git.path directly in the input box

git.path

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

3. Add path

Enter the git.exe path of git.path in the json file as shown in the figure

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

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

Useful, please like and develop good habits!

If you have any questions, please leave a message!

Guess you like

Origin blog.csdn.net/libusi001/article/details/124262205