Skip to content

Commit 7ff5d78

Browse files
mkodytarcinil
authored andcommitted
Support 'push <remote> <branch> --delete' (#325)
Signed-off-by: Kody <im@kdy.ch>
1 parent f911c26 commit 7ff5d78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/git/lib.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,7 @@ def push(remote, branch = 'master', opts = {})
755755

756756
arr_opts = []
757757
arr_opts << '--mirror' if opts[:mirror]
758+
arr_opts << '--delete' if opts[:delete]
758759
arr_opts << '--force' if opts[:force] || opts[:f]
759760
arr_opts << remote
760761

0 commit comments

Comments
 (0)