tj.git-extras/bin/git-delete-branch
2010-09-10 08:19:27 -07:00

5 lines
129 B
Bash
Executable file

#!/bin/sh
test -z $1 && echo "branch required." && exit 1
git branch -d $1 && git branch -d -r origin/$1 && git push origin :$1