Xcode 4.4.1:git不再显示修改 [英] Xcode 4.4.1: git no longer showing modifications

查看:112
本文介绍了Xcode 4.4.1:git不再显示修改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

突然,不幸的是,我不能放置Xcode停止显示git信息的时刻,也不能通过git从Xcode中提交/恢复/ etc。如果我检查了组织者的存储库,我的项目仍然列出它的上次提交。



使用命令行:git status,我可以看到所有未分离的更改。

所以,这个项目仍然在git控制之下,但是不知何故从Xcode中分离出来。

解决方案

通过转到Xcode中的管理器,选择我的项目并删除派生数据,我能够解决此问题。您可能需要退出Xcode并重新打开您的项目,以便让Xcode重建项目索引。


Suddenly, unfortunately, I can't place the moment of occurrence Xcode has stopped showing git information, nor can I submit/revert/etc via git from inside Xcode. If I check the Organizer's Repositories, my project is still listed with its last commit.

Using the command line: git status, I see all the unstaged changes as I would expect.

So, the project is still under git control, but somehow detached from Xcode.

解决方案

I was able to fix this issue by going to Organizer in Xcode, selecting my project, and deleting the Derived Data. You may need to quit Xcode and re-open your project after doing this to let Xcode rebuild the project index.

这篇关于Xcode 4.4.1:git不再显示修改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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