4 lines
259 B
Bash
Executable File
4 lines
259 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); git pull origin $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'
|