The command git pull --recurse-submodules only works for git versions 1.7.3 and newer. Instead, deploy.bash should use git pull to update the main repo and git submodule foreach git pull origin master to update submodules. The command git submodule update --init is used to initialize new submodules added to .gitmodules.
The command
git pull --recurse-submodules
only works for git versions 1.7.3 and newer. Instead, deploy.bash should usegit pull
to update the main repo andgit submodule foreach git pull origin master
to update submodules. The commandgit submodule update --init
is used to initialize new submodules added to .gitmodules.