updated instructions related to submodules

This commit is contained in:
Jocelyn Fiat
2011-10-31 02:43:44 -07:00
parent 83a181ebf1
commit d4266a83ec
3 changed files with 6 additions and 7 deletions

View File

@@ -1,9 +1,10 @@
cd %~dp0..
echo Pull changes from origin master
call git pull origin master
echo Update all submodule recursively
call git submodule update --recursive
call git submodule update --init --recursive
echo Checkout master branch for each submodule recursively
call git submodule foreach --recursive git checkout master

View File

@@ -1,11 +1,10 @@
#!/bin/sh
cd ..
echo Pull changes from origin master
call git pull origin master
git pull origin master
echo Update all submodule recursively
call git submodule update --recursive
git submodule update --init --recursive
echo Checkout master branch for each submodule recursively
call git submodule foreach --recursive git checkout master
git submodule foreach --recursive git checkout master