瀏覽代碼

Fixes delete of remote branches

main
Eric Amodio 4 年之前
父節點
當前提交
130ca302d9
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      src/git/models/repository.ts

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

Loading…
取消
儲存