From db8aaf5f8f0886c8aad9abfc504685e49e70b39c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 23 Nov 2017 10:27:30 -0200 Subject: Adds git-submodule-checkout-branch and git-submodules-checkout-branches --- git-submodules-checkout-branches | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 git-submodules-checkout-branches (limited to 'git-submodules-checkout-branches') diff --git a/git-submodules-checkout-branches b/git-submodules-checkout-branches new file mode 100755 index 0000000..f254ca9 --- /dev/null +++ b/git-submodules-checkout-branches @@ -0,0 +1,7 @@ +#!/bin/bash +# +# Checkout branches in all submodules, recursivelly. +# + +# Run recursivelly for each submodule +git submodule foreach --recursive git-submodule-checkout-branch -- cgit v1.2.3