We have a repository with a submodule and I'm using SmartGit to pull update and it works perfectly.
My partner is trying to do the same from the command line:
git pull --recurse-submodules
and git returns:
Fetching submodule xxx/yyy
Already up-to-date.
and the submodule is not updated.
When I look at smartgit, it doesn't update the submodules through a single command, but it issues two commands:
~/Projects/xxx> git fetch --progress --prune --recurse-submodules=no origin
~/Projects/xxx/yyy> git fetch --progress --prune --recurse-submodules=no origin
So it updates the main code AND the submodule separately.
How do get everything updated in a single command?