当我尝试从我的xCode项目中删除东西时,我得到这个奇怪的错误不知道为什么。这似乎是git
错误,但我没有在我的项目中创建git存储库。我在xcode中删除文件时得到了这个奇怪的错误
这是错误:
fatal: Unable to create '/Users/dilipmanek/.git/index.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
PLZ帮我解决这个问题..
它在消息中说:“手动删除文件以继续”。你尝试过吗? –
退出XCode,进入命令提示符并输入'rm/Users/dilipmanek/.git/index.lock'。显然你有你的整个家目录的git回购,无论你是否意图或不:) –
@JoachimIsaksson thanx的答复解决了这个问题。 – Dilip