Xcode 版本控制:致命:合并期间无法进行部分提交? [英] Xcode Version control: fatal: cannot do a partial commit during a merge?

查看:32
本文介绍了Xcode 版本控制:致命:合并期间无法进行部分提交?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Xcode 界面中使用 git 时,按 commit # Files and Push 后出现以下错误.

When using git with Xcode interface, I get the following error after pressing commit # Files and Push.

工作副本Project"提交文件失败.

致命:在合并期间不能进行部分提交.

fatal: cannot do a partial commit during a merge.

我正在使用 Xcode 的源代码管理.我看过 here 但没有找到任何解决 Xcode 源代码管理问题的方法.

I am using Xcode's Source Control. I have looked here but have not found anything that resolves the issue for Xcode's Source Control.

推荐答案

这个问题是因为 git head 的一些问题.尝试使用源树应用程序进行提交并推送到 git.它会起作用.

This issue is because of some issue with git head. Try using source tree application to do the commit and push to the git. It will work.

https://www.sourcetreeapp.com

这篇关于Xcode 版本控制:致命:合并期间无法进行部分提交?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆