Xcode 本地提交失败并出现"Multiple working copies failed to commit files."错误



更新到Xcode 10.1后,当我从源代码管理中选择"提交…"时,我得到错误

多个工作副本无法提交文件。

它以前一直有效。

推到Bitbucket仍然有效。我如何才能让Commit再次工作?

原因&解决方案:

Xcode错误,当Xcode更新时,作者详细信息被删除,以下来自工作区目录中cmd行的内容修复了问题:

xcrun git config user.name "your_user_name"
xcrun git config user.email your_email

运行命令后,重新启动Xcode

相关内容

最新更新