#!/bin/sh branch=$1 destiny=$(git default-branch) git checkout $destiny git push origin :$branch > /dev/null & git branch -D $branch