here is the situation i faced. I have a repo containing a submodule. In the repo, i created a new branch to do some editing.
Then i found out i need an updated submodule, so i pulled down the submodule and kept working. I made a commit afterward, and merge the branch back to the master branch.
In the master branch, when i use "git submodule update", the submodule points back to an old version, but not to the updated one in the branch :(
I am wondering if git merges submodules reference? Can anyone help me?