VS code是一个非常好用的工具,写代码利器。之前大部分都在Ubuntu上进行操作,也有在windows上操作,也没发现什么问题。VS code支持git(如下图)。所以在写代码的同时可以查看代码修改,这是一个非常舒服的操作。但是windows新的版本没有带git路径。
在最新的vscode中1.49.0,出现了找不到git的安装,如下提示:
Looking for git in: C:\Program Files\Git\cmd\git.exe
Looking for git in: C:\Program Files (x86)\Git\cmd\git.exe
Looking for git in: C:\Program Files\Git\cmd\git.exe
Looking for git in: C:\Users\rtt\AppData\Local\Programs\Git\cmd\git.exe
Git installation not found.
VScode中git.path没有设置。说到这,我们也知道怎么解决了(添加路径罗)
本文分享自 Rice 嵌入式开发技术分享 微信公众号,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文参与 腾讯云自媒体同步曝光计划 ,欢迎热爱写作的你一起参与!