mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Also delete the remote branch
This commit is contained in:
parent
90bc5ff7ba
commit
a3cbb7df9a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue