Mots clés : gitgit-submodulesgit
92
git submodule update --init --recursive
git submodule update --recursive --remote
git submodule update --recursive
git pull --recurse-submodules
82
git pull --recurse-submodules --jobs=10
70
git submodule update --init --recursive
git - the base command to perform any git command submodule - Inspects, updates and manages submodules. update - Update the registered submodules to match what the superproject expects by cloning missing submodules and updating the working tree of the submodules. The "updating" can be done in several ways depending on command line options and the value of submodule.<name>.update configuration variable. --init without the explicit init step if you do not intend to customize any submodule locations. --recursive is specified, this command will recurse into the registered submodules, and update any nested submodules within.
git submodule update --recursive
66
#!/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
51
git submodule foreach git pull origin master
git submodule foreach /path/to/some/cool/script.sh