VSCODE git 侧导航异常
背景:
- 2022年04月08日,vscode版本更新啦
- 代码已关联远程分支,点击侧导航git提示以下文本
The workspace currently open does’t have any folders containing git repositories.
You can initialize a repository on a folder which will enable source control features by git.
- 之后在终端尝试,终端git正常
- 重装vscode,问题依然存在
解决方案:
-
在扩展工具框搜索 @builtin git
-
重启即可 (点击Disable,点击Enable)
-