I tried removing manually the following submodule from my local repository:
components/CtrlFuelSuppHtr
Removed it from these three places: .git folder, components folder, and deleted it on .gitmodules.
But I get the following error when running any command like the one below. It seems that it still exists in the git index.
git submodule > status.txt
fatal: no submodule mapping found in .gitmodules for path 'components/CtrlFuelSuppHtr'
So removing it from cache:
git rm --cached components/CtrlFuelSuppHtr
**fatal: please stage your changes to .gitmodules or stash them to proceed**
So the problem is that it still exists in my cache, but I have manually deleted it from anywhere else and it's asking to stage or stash the changes. I would like to completely deleted without having to commit or stash it. Any help would be appreciated.