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), ); } }