From 35f516d66837b7354f687bb7b055621382b5a86a Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Wed, 1 Aug 2018 20:31:44 +0200 Subject: [PATCH] Added attach script --- attach_modules.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 attach_modules.sh 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)'