So Eclipse's git plugin - eGit - has been supporting submodules for a while now (they added support in 1.3 release on February 15, 2012, so over a year now). I've just started to use them. I am able to add a submodule without a problem, I can create and checkout a branch inside the submodule for my local patches. I can also create a commit in the submodule.
But how do I update master repository with the pointer to the new commit? When I choose "Update submodule" it rather reverts me back to the original commit that was checked out upon adding the submodule (which isn't surprising when you think what git submodule update
does). When I hit "Sync submodule" it doesn't appear to do anything at all.
So is there a way to make the master repo aware of the new commits in the submodule using eGit? I know perfectly well how to do that from the command line, but still I am trying to find out if that is possible from eGit.