After I check out a tag and do git status
, it shows me:
# modified: submodules/bcg729 (new commits)
# modified: submodules/belle-sip (new commits)
# modified: submodules/externals/ffmpeg (new commits)
git submodule update
checks out earlier commits.
But in .gitmodules
there's no info about specific commits in submodules when the tag was created. How does git knows it? Simply by the commit dates?