SyntaxFix
Write A Post
Hire A Developer
Questions
None of the above answers worked for me.
This was the solution, from the parent directory run:
git submodule update --init; cd submodule-directory; git pull; cd ..; git add submodule-directory;
now you can git commit and git push
git commit
git push