Pathspec fatal está en submódulo

git rm --cached directory
 git add directory
Jealous Jackal