1 Make sure you have the submodules checked out:
2 git submodule update --init
5 [submodule "c_cpp/gnulib"]
7 url = http://git.savannah.gnu.org/r/gnulib.git
8 [submodule "c_cpp/pspp"]
10 url = http://git.savannah.gnu.org/r/pspp.git
15 git submodule foreach git pull origin master
16 git add c_cpp/gnulib c_cpp/pspp
17 git commit -m 'Submodule updated'
24 http://stackoverflow.com/questions/1979167/git-submodule-update
25 git submodule -q foreach git pull -q origin master
26 You can remove the -q option to follow the whole process.
28 http://josephjiang.com/entry.php?id=342