diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-23 10:27:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-23 10:27:30 -0200 |
commit | db8aaf5f8f0886c8aad9abfc504685e49e70b39c (patch) | |
tree | f27a87dde372c4da0d7b903ee2dae9d02d4aec05 /git-submodules-checkout-branches | |
parent | 8b56dface439ff13c9977d958b891bfb79b09850 (diff) | |
download | utils-git-db8aaf5f8f0886c8aad9abfc504685e49e70b39c.tar.gz utils-git-db8aaf5f8f0886c8aad9abfc504685e49e70b39c.tar.bz2 |
Adds git-submodule-checkout-branch and git-submodules-checkout-branches
Diffstat (limited to 'git-submodules-checkout-branches')
-rwxr-xr-x | git-submodules-checkout-branches | 7 |
1 files changed, 7 insertions, 0 deletions
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 |