#!/usr/bin/env bash set -e BRANCH=`git symbolic-ref --short HEAD` if [ $BRANCH == master ]; then echo "not pushing $BRANCH" exit 1 fi git push -u origin $BRANCH $*