Skip to content

Commit d6adb68

Browse files
committed
Chain commands.
1 parent 5af48e1 commit d6adb68

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)