【问题标题】:VS Code not tracking file changes and says install gitVS Code 不跟踪文件更改并说安装 git
【发布时间】:2022-11-25 19:06:59
【问题描述】:

扩展:GitHub 拉取请求和问题 不知道为什么它的行为是这样的,安装了 git ...仍然说安装 git

显示: Activating the Pull Requests and Issues extension failed. Please make sure you have git installed.

【问题讨论】:

    标签: macos visual-studio-code


    【解决方案1】:

    进入设置搜索git path

    在那里编辑setting.json,最后一个参数 git.path

    在终端中使用此命令找到 git 路径

    which git

    然后重新加载 VS 代码

    【讨论】:

      猜你喜欢
      • 2021-09-15
      • 2021-02-14
      • 1970-01-01
      • 2012-12-29
      • 1970-01-01
      • 2021-09-09
      • 1970-01-01
      • 2022-01-01
      • 1970-01-01
      相关资源
      最近更新 更多