tj.git-extras/bin/git-delete-branch
2010-10-25 14:03:41 -07:00

6 lines
126 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