diff --git a/attach_modules.sh b/attach_modules.sh new file mode 100755 index 0000000..e6d8c98 --- /dev/null +++ b/attach_modules.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +git submodule foreach -q --recursive 'echo "Updating $name"; git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'