could not lookup name for submodule code example
Example: fatal: could not lookup name for submodule
git rm --cached [submodule-name]
or
git rm --cached [path]
for example
git rm --cached docroot/vendor/nodespark/des-connector
git rm --cached [submodule-name]
or
git rm --cached [path]
for example
git rm --cached docroot/vendor/nodespark/des-connector