diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-23 11:53:51 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-23 11:53:51 -0200 |
commit | 77323523c9aed412bf119bf7b827ce7f53350c77 (patch) | |
tree | 67f7ec6f5d7f823638b8e94fdc7997aef1b70d74 /git-submodules-checkout-branch | |
parent | db8aaf5f8f0886c8aad9abfc504685e49e70b39c (diff) | |
download | utils-git-77323523c9aed412bf119bf7b827ce7f53350c77.tar.gz utils-git-77323523c9aed412bf119bf7b827ce7f53350c77.tar.bz2 |
Refactor checkout branch scripts
Diffstat (limited to 'git-submodules-checkout-branch')
-rwxr-xr-x | git-submodules-checkout-branch | 7 |
1 files changed, 7 insertions, 0 deletions
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 |