美文网首页
vscode git no source control pro

vscode git no source control pro

作者: KK_boy | 来源:发表于2020-05-12 10:13 被阅读0次

问题:vscode没有提示未提交的代码

在网上查到的解决方法:
在扩展中搜索“@builtin”,找到git,禁用再重新启用(注意禁用之后要重启vscode)

找到git.PNG

启用之后还是提示“找不到git”

file->preferences->settings->输入git.path->点击"edit in settings.json"

打开setting.png git.path.PNG

在json文件中添加以下代码:(后边为你的git.exe路径)

"git.path": "D:/Program Files/Git/bin/git.exe"


配git.path.PNG

重启vscode,成功。
————————————————
原文链接:https://blog.csdn.net/syx8821/article/details/94355947

相关文章

网友评论

      本文标题:vscode git no source control pro

      本文链接:https://www.haomeiwen.com/subject/embvnhtx.html