Server-Root/attach_modules.sh

4 lines
165 B
Bash
Raw Normal View History

2018-08-01 14:31:44 -04:00
#!/bin/bash
git submodule foreach -q --recursive 'echo "Updating $name"; git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'