Server-Root/attach_modules.sh
2018-08-01 20:31:44 +02:00

4 lines
165 B
Bash
Executable File

#!/bin/bash
git submodule foreach -q --recursive 'echo "Updating $name"; git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'