My question is similar with the following: How do I update a GitHub forked repository? But it's a bit complicated, because my upstream is a very large project which have a lot of sub modules.
git remote -v
navi_dev        ssh://gitolite@hi0vm066.de.bosch.com/navi_development (fetch)
navi_dev        ssh://gitolite@hi0vm066.de.bosch.com/navi_development (push)
origin  cmg1szh@szhgit01.apac.bosch.com:navi_int_internal.git (fetch)
origin  cmg1szh@szhgit01.apac.bosch.com:navi_int_internal.git (push)
nave_dev is the root upstream I want to get from, and origin is my local fork.
but in this project, there are lots of sub modules: such as:
[submodule "ai_osal_common"]
        path = ai_osal_common
        url = gitolite:ai_osal_common
[submodule "ai_osal_darwin"]
        path = ai_osal_darwin
        url = gitolite:ai_osal_darwin
...
My Question is, I also want to fork these submodules into my local repo. The submodules could be updated, and the root upstream could also be updated, (root upstream may update its submodule hash). How could I sync both the root upstream and its submodules into my local repo?
 
     
    