ubuntu下的vscode插件安装idf时,总是找不到git

DJZ1992
Posts: 72
Joined: Fri Jul 09, 2021 9:15 am

ubuntu下的vscode插件安装idf时,总是找不到git

Postby DJZ1992 » Wed Jul 21, 2021 2:32 am

总是提示:Git is not found in current environment
但是我已经在setting.json下设置了"git.path": "/bin/git"
同行,命令行里查看git版本和路径都是可以的。为什么还是不行呢?

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: ubuntu下的vscode插件安装idf时,总是找不到git

Postby ESP_Gargamel » Wed Jul 21, 2021 2:45 am

如果你系统里有 git,应该不用设置吧。你在 shell 里 which git 看下在 /usr/bin/ 还是在 /bin。

Who is online

Users browsing this forum: Baidu [Spider] and 160 guests