gpt4 book ai didi

git - 错误 : The source control operation failed because the revisions

转载 作者:IT王子 更新时间:2023-10-29 01:27:20 27 4
gpt4 key购买 nike

我已经安装了 Xcode 7,现在当我从 xcode 菜单中选择“提交”时总是会收到此消息。

“源代码管理操作失败,因为修订……找不到。”

有什么想法吗? :)

error message

最佳答案

如果 git 仓库的状态不正确,就会发生这种情况:

  • 如果是 git 仓库,则在外部归档,或者
  • 还没有提交(最初的第一次提交),或者
  • 没有文件添加到索引

(还有 XCode 7 crashing on git commit 的 repo)

转到修改文件的父文件夹,然后到 git status,检查实际发生了什么。
还要检查(在看到该错误消息后)/Applications/Utilities/Console.app 以防有更多线索(就像之前针对此 other error bug report 所做的一样)

关于git - 错误 : The source control operation failed because the revisions,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32619751/

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