branch)
remote=$1
branch=$2
+ srcbranch=$3
if [ -z "$branch" ]; then
branch=$remote
remote=origin
fi
+ if [ -z "$srcbranch" ]; then
+ srcbranch=master
+ fi
if [ -z "$branch" ]; then
for d in $repos; do
enter "$d0/$d"
read -r a
done
if [ x"$a" = x"y" ]; then
- verbose git push "$remote" HEAD:"$branch"
+ verbose git push "$remote" "$srcbranch":"$branch"
verbose git checkout --track -b "$branch" "$remote/$branch"
fi
cd "$d0"
echo " $SELF push"
echo " $SELF branches"
echo " $SELF branch [<remote>] <branchname>"
+ echo " $SELF branch <remote> <branchname> <srcbranchname>"
echo " $SELF checkout [<remote>] <branchname>"
echo " $SELF compile"
echo " $SELF run <client> <options>"