【问题标题】:Git not found. Install it or configure it using the 'git.path' setting未找到 Git。使用 \'git.path\' 设置安装或配置它
【发布时间】:2022-11-02 23:39:34
【问题描述】:

在 Mac OS Ventura 的 VS 代码中面临“未找到 Git”的错误。

如何解决mac中VS Code中的这个错误?任何帮助表示赞赏:)

【问题讨论】:

  • 你试过安装git吗?
  • 请注意,Apple-Git(Apple 修改版本)是 Xcode 工具的一部分,并且被各种 Apple 升级程序令人讨厌地安装和删除。您可能想要安装更新的 Homebrew Git;两者都可以安装,尽管这样会有些混乱。

标签: git macos visual-studio macos-ventura


【解决方案1】:

您可以使用xcode-select --install 安装git 来安装Apple 版本,也可以使用brew install git 获取上游版本。检查https://brew.shhttps://git-scm.com/downloads

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-08-17
    • 2022-07-29
    • 1970-01-01
    • 2015-02-14
    • 1970-01-01
    • 1970-01-01
    • 2014-05-14
    相关资源
    最近更新 更多