Browse Source

Fixes delete of remote branches

main
Eric Amodio 4 years ago
parent
commit
130ca302d9
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/git/models/repository.ts

+ 3
- 1
src/git/models/repository.ts View File

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

Loading…
Cancel
Save