From b40a8fb5d0e8051ea7801ff566e73b9805208884 Mon Sep 17 00:00:00 2001 From: Kody Date: Sat, 28 Jul 2018 13:50:40 +0100 Subject: [PATCH] Support 'push --delete' Signed-off-by: Kody --- lib/git/lib.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/git/lib.rb b/lib/git/lib.rb index 834511f8..71cc7fad 100644 --- a/lib/git/lib.rb +++ b/lib/git/lib.rb @@ -755,6 +755,7 @@ def push(remote, branch = 'master', opts = {}) arr_opts = [] arr_opts << '--mirror' if opts[:mirror] + arr_opts << '--delete' if opts[:delete] arr_opts << '--force' if opts[:force] || opts[:f] arr_opts << remote