I add a submodule using following command
git submodule add -b br1 [repo]
The .gitmodules file has entry branch=br1 . Now I want to switch the branch to br2. I can go into submodule folder and switch the branch but that does not update .gitmodules file.
How I can do that?