#!/bin/sh
+# This command sets up any git submodules in the project.
+# Generally, this only needs to be run once on a freshly cloned
+# project, but won't harm anything if run later, provided
+# you modify it to accomodate any submodules that should *NOT*
+# be on the `master` branch.
+
git submodule init
git submodule update
#!/bin/sh
+# This command can be run any time to ensure that all submodules are on
+# the most recent commit for the configured branch, as set up
+# in the `link_git_modules` script.
+
git submodule foreach git pull origin