From 130ca302d92891128f8af44ff6d17fe302af7d1f Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 11 Sep 2020 17:48:09 -0400 Subject: [PATCH] Fixes delete of remote branches --- src/git/models/repository.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/git/models/repository.ts b/src/git/models/repository.ts index 091abad..a22563d 100644 --- a/src/git/models/repository.ts +++ b/src/git/models/repository.ts @@ -294,7 +294,9 @@ export class Repository implements Disposable { for (const branch of remoteBranches) { this.runTerminalCommand( 'push', - `${GitBranch.getRemote(branch.name)} :${GitReference.getNameWithoutRemote(branch)}`, + '-d', + GitBranch.getRemote(branch.name), + GitReference.getNameWithoutRemote(branch), ); } }