Browse Source

Adds fetch all & prune to fetch git command

main
Eric Amodio 5 years ago
parent
commit
599832366f
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      src/commands/git/fetch.ts

+ 10
- 0
src/commands/git/fetch.ts View File

@ -135,6 +135,16 @@ export class FetchGitCommand extends QuickCommandBase {
: `${state.repos.length} repositories`
}`,
item: ['--all']
},
{
label: `${this.title} All & Prune`,
description: '--all',
detail: `Will fetch and prune all remotes of ${
state.repos.length === 1
? state.repos[0].formattedName
: `${state.repos.length} repositories`
}`,
item: ['--all', '--prune']
}
]
);

||||||
x
 
000:0
Loading…
Cancel
Save