Why do I get “fatal: git status --porcelain failed”?

前端 未结 13 1878
星月不相逢
星月不相逢 2020-12-09 07:39

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 a

相关标签:
13条回答
  • 2020-12-09 08:27

    I managed to solve the issue as follows:

    Lets assume subfolder is the submodule where I was facing the issue, I moved/deleted the folder then sync and then update...

    mv AD_Soft/subfolder AD_Soft/subfolder2 git submodule sync --recursive AD_Soft/subfolder/ git submodule update --recursive AD_Soft/subfolder

    This solves the issue for me..

    0 讨论(0)
提交回复
热议问题