为什么我会得到“致命的:git status --porcelain failed”? [英] Why do I get "fatal: git status --porcelain failed"?
本文介绍了为什么我会得到“致命的:git status --porcelain failed”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
哦,亲爱的,我是这样的失败。看起来问题源于Flash Builder将其他.git repos复制到子文件夹中。答案是删除所有不是repo的.git文件夹。
This is a huge pain in the bum. I've got this a few times before and I don't understand why. 5 mins ago the repo was fine and working, I move some files around (which is all cool and all) and git poops its pants. Any idea why this happens? How can I fix it apart from cloning the repo, moving the files, etc...
解决方案
Oh dear I'm such a fail. It looks like the problem stems from Flash Builder copying over other .git repos into sub folders. The answer is to remove all .git folders that aren't the repo's one.
这篇关于为什么我会得到“致命的:git status --porcelain failed”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文