【问题标题】:The working copy '<Project Name>' failed to commit files - Couldn't communicate with helper application - Solution not working工作副本“<项目名称>”未能提交文件 - 无法与帮助应用程序通信 - 解决方案不起作用
【发布时间】:2017-11-06 08:50:32
【问题描述】:

我指的是上一个问题的答案: The working copy '<Project Name>' failed to commit files - Couldnt communicate with helper application

然而,答案对我不起作用。我是 Git 新手。我通过 Xcode 8 从 GitHub 获得了该应用程序的初始版本。然后我使用 Finder 制作了项目文件夹的多个副本(我的错。这样做的方式非常糟糕!)现在我想将这些新项目中的一个提交给一个新项目分支。但我不断收到提到的错误。我在当前项目文件夹中执行了 xcrun 并添加了电子邮件和名称。 -l 可以很好地列出添加内容。仍然得到同样的错误。 git config --global -l 说没有这样的文件或目录不起作用。当我在全局模式下运行 xcrun 时,它运行时没有问题,然后当我执行 -l 时,我没有收到错误,但只有我在 Git 配置文件中设置的新参数。

请帮助我提交和推送更改。 提前致谢!

附:我之前成功地提交过一次。我想是在我用 finder 复制项目文件之前。

【问题讨论】:

    标签: xcode git git-commit


    【解决方案1】:

    试试这个解决方案:Xcode 9 commit: Couldn't communicate with helper application

    解决方案是使用 git 命令添加更改。切换到您的工作目录(包含 /.git 文件夹)并执行:

    git commit -a -m "Commit title here"
    

    【讨论】:

      猜你喜欢
      • 2015-12-15
      • 2018-03-18
      • 2019-06-24
      • 2018-03-31
      • 2015-01-05
      • 2012-04-05
      • 2016-03-26
      • 1970-01-01
      • 2021-03-23
      相关资源
      最近更新 更多