#!/bin/bash
BRANCH=$(git-current-branch)
[ -z "$BRANCH" ] && echo "Can't find current branch." && exit 1
[ master == "$BRANCH" ] && echo "Ignoring master branch." && exit 1
git config branch.$BRANCH.remote origin
git config branch.$BRANCH.merge  refs/heads/$BRANCH

