gpt4 book ai didi

git - IntelliJ - Git 未安装 : Cannot identify version of git executable: no response

转载 作者:行者123 更新时间:2023-12-04 14:49:27 25 4
gpt4 key购买 nike

我在 MacBook 上使用 IntelliJ,每次打开应用程序时都会收到此消息。我已经检查了“Git 可执行文件的路径”下的“首选项”>“版本控制”>“Git”,并将此路径设置为终端中显示的“whereis git”路径。此外,在 IntelliJ 设置中测试路径会返回“Git 版本为 2.30.1”。我还能做些什么来解决这个问题?

最佳答案

就我而言,IDE 似乎只能识别 git 的路径。如 /usr/local/bin/git ,但是 git安装在 /usr/bin/git .所以我在他们之间做了一个软链接(soft link)。

sudo ln -s /usr/bin/git /usr/local/bin/git 

关于git - IntelliJ - Git 未安装 : Cannot identify version of git executable: no response,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69295464/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com