VSCode 首次打开提示“Git installation not found.”解决方案

※前提你们先在本地安装好相应的git版本(下载地址:https://www.git-scm.com/download/git

1、找到“默认用户设置”get

      

2、找到Git菜单选项打开it

      

3、找到“git.path”,会发现后面路径为nullclass

       

4、在右边设置git.path下载

      (另外直接复制路径的小伙伴注意下:路径的斜杠,“\”要更改成“/”)im

       

5、保存。而后从新打开。完成。img