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