Collection of submodules/scripts/tools.
git clone --recursive https://github.com/notdodo/Tools.git
git submodule add <submodule_repo_url>
- in
.gitmodules
add thebranch
value
git submodule foreach -q 'BRANCH=$(git config -f $toplevel/.gitmodules submodule.$name.branch); git checkout $BRANCH; git pull origin $BRANCH'