#!/bin/bash# Exists to fully update the git repo that you are sitting in...
git pull && git submodule init && git submodule update && git submodule status
git - the base command to perform any git commandsubmodule - Inspects, updates and manages submodules.update - Update the registered submodules to match what the superprojectexpects by cloning missing submodules and updating the working tree of thesubmodules. The "updating" can be done in several ways depending on commandline options and the value of submodule.<name>.update configuration variable.--init without the explicit init step if you do not intend to customizeany submodule locations.--recursive is specified, this command will recurse into the registeredsubmodules, and update any nested submodules within.