Xcode 4.4.1:git不再显示修改 [英] Xcode 4.4.1: git no longer showing modifications
问题描述
使用命令行: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屋!