SyntaxFix
Write A Post
Hire A Developer
Questions
This worked for me:
git ls-files --stage | grep ^160000
It is based on this great article: Understanding Git Submodules
It must read grep ^160000.
grep ^160000