git submodule status

Category: Git - Core

git submodule status

Show the pinned commit of each submodule

Lists every submodule with the commit it is pinned to, plus a prefix: a space for up to date, a dash for not initialized, and a plus for a different commit than recorded. It is the first stop when submodule content looks wrong.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.