hello. I'm getting a hang of git submodule (wishful thinking?) and I'm coming up with more specific questions, which is a good sign...
I've tried to find the which revision of the submodule the superproject refers to, in .gitmodules
and .git/config
, but nothing is mentioned there...
The scenario is that I'm changing submodules in their root locations (from which they're imported), and then pulling them in where they're "submoduled"...
Beyond committing from the superproject to incorporate those changes into the superproject repo, do I also need to do "git update
" to register the new pulled in submodule commits?
Basically the question is:
do I need to "
git submodule update
" only when I first clone the superproject, or after every pulling of the submodule (from its own repo)?
Thank you