Using git 1.8.1. I have upstream and local repo for git project.It has one submodule (hash A). Then I branch it out locally to branch "feature" (and have hash A submodule).
- Pull some changes and submodule new hash (B) into master branch.
- Then I rebase my feature(with submodule hash A) against master branch (with submodule hash B)
When I switch from branch "feature" to branch "master" I see submodule hash is unaffected and still is B for master and A for feature. So I need to update it manually every time.
How can I update "feature" branch to new submodule hash (B) without creating new commit there?