Mojave 上的 Git 命令问题

标签 git macos-mojave

最近我更新了 Mojave 并在访问 git 命令时收到以下错误消息:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

最佳答案

我得到了相同的解决方案,在终端中编写以下命令,它将安装一个软件,问题将得到解决:

xcode-select --install

关于Mojave 上的 Git 命令问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53008211/

相关文章:

python - Git Heroku 错误 [远程拒绝] ...(预接收 Hook 被拒绝)

git - 如何在维护历史记录的同时将单个目录从 git 存储库移动到新存储库?

swift - 无法在 macOS Mojave 应用程序中模拟击键

Valgrind 适用于 macOS Mojave 10.14.2?还有其他选择吗?

linux - 在 MacOS(或 Linux)的笔记本电脑 sleep 模式期间,如何调查哪个进程会导致唤醒?

git - 在 "export-subst"文件中添加标签

git - 如何将 Gerrit 分支 merge 到另一个 Gerrit 分支

xcode - 无法在macOS 10.14 Mojave下加载Info.plist错误Xcode 10

objective-c - PyObjC "Notifications are not allowed for this application"

git - 尝试推送到 GitHub,现在收到 'fatal: bad default revision'