wrapfs_remote_branch=`git ls-remote --heads $WRAPFS_URL wrapfs`
if [ -z "${wrapfs_remote_branch:+x}" ]; then
echo "git remote branch wrapfs does not exists"
- runcmd git push origin wrapfs
runcmd git push --set-upstream wrapfs wrapfs
else
runcmd git branch -r
fi
-
-# delete origin/wrapfs remote branch
-origin_remote_branch=`git ls-remote --heads $WRAPFS_URL origin/wrapfs`
-if [ -n "${origin_remote_branch:+x}" ]; then
- runcmd git branch -r -d origin/wrapfs
-fi