diff options
-rwxr-xr-x | git/branch.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/git/branch.sh b/git/branch.sh new file mode 100755 index 0000000..6827eb3 --- /dev/null +++ b/git/branch.sh @@ -0,0 +1,15 @@ +#! /bin/sh + +# Assume this script never run via PATH. +# +self=`realpath $0` +. `dirname $self`/modules + +wd=`pwd` + +for i in $odb_modules; do + echo "branch $i" 1>&2 + cd $i + git branch $* + cd $wd +done |