-
Notifications
You must be signed in to change notification settings - Fork 0
dev09 end of sprint dev staging master
Tom Purucker edited this page Jun 7, 2018
·
10 revisions
get checkout dev
git pull
# sometimes you may have to use git submodule commands
# if you did not clone --recursive (but only the first time after cloning repo)
# or if the git clone --recursive was not fully successful
# or whenever a new submod is added
git submodule foreach --recursive git checkout dev
git submodule update --init --recursive
git submodule foreach --recursive git status # make sure nothing detached, etc
#everytime
git submodule foreach --recursive git checkout dev # or some other branch
#or, if you do not have the branch locally
#git submodule foreach --recursive git checkout dev origin/dev # or some other branch
git submodule foreach --recursive git fetch
git submodule foreach --recursive git pull origin dev # or some other branch
git submodule foreach --recursive git status