From ee3d5caa70fdf76f8afa66e135832a937d5449f9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 Mar 2011 08:49:50 +0200 Subject: Add branch git script --- git/branch.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 git/branch.sh (limited to 'git') 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 -- cgit v1.1