Git: fatal: Pathspec is in submodule
Removing the directory from git and adding it again worked for me: git rm –cached directory git add directory This works if you purposefully removed the .git directory because you wanted to add directory to your main git project. In my specific case, I had git cloned an extension and ran git add . without … Read more