Pathspec fatal está no submódulo

git rm --cached directory
 git add directory
Jealous Jackal