This project has its content as git submodule in super-blog-content
folder.
git submodule update --init --recursive
git submodule update --recursive --remote
-
Change to the submodule directory cd submodule_dir
-
Checkout desired branch git checkout main
-
Update git pull
-
Get back to your project root cd ..
-
Now the submodules are in the state you want, so git commit -am "Pulled down update to submodule_dir"
git submodule foreach git pull origin main
This is useful for this project if you want to have different test branches and not main
on every project
cd super-blog-content/ && git pull && cd .. && cd super-styleguide/ && git pull && cd ..