Skip to content

Commit 8273caa

Browse files
committed
Merge pull request jwiegley#15 from noorul/master
Chain commands.
2 parents 5af48e1 + d6adb68 commit 8273caa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

git-delete-branch

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22
# remove remote git branch
33

4-
git branch -D $1
5-
git push origin :$1
4+
git branch -D $1 && git push origin :$1

0 commit comments

Comments
 (0)