Also delete the remote branch

This commit is contained in:
Gert Van Gool 2010-09-10 09:09:46 +02:00 committed by Tj Holowaychuk
parent 90bc5ff7ba
commit a3cbb7df9a

View file

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