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
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..