Browse Source

Adds descriptions to stash sub-commands

main
Eric Amodio 5 years ago
parent
commit
8ee4d2c2fa
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      src/commands/git/stash.ts

+ 7
- 1
src/commands/git/stash.ts View File

@ -70,7 +70,7 @@ export class StashGitCommand extends QuickCommandBase {
constructor(args?: StashGitCommandArgs) {
super('stash', 'stash', 'Stash', {
description: 'shelves (stashes) changes from the working tree to be reapplied later'
description: 'shelves (stashes) local changes to be reapplied later'
});
if (args == null || args.state === undefined) return;
@ -135,21 +135,27 @@ export class StashGitCommand extends QuickCommandBase {
items: [
{
label: 'apply',
description: 'integrates changes from the specified stash into the current branch',
picked: state.subcommand === 'apply',
item: 'apply'
},
{
label: 'drop',
description: 'deletes the specified stash',
picked: state.subcommand === 'drop',
item: 'drop'
},
{
label: 'pop',
description:
'integrates changes from the specified stash into the current branch and deletes the stash',
picked: state.subcommand === 'pop',
item: 'pop'
},
{
label: 'push',
description:
'saves your local changes to a new stash and discards them from the working tree and index',
picked: state.subcommand === 'push',
item: 'push'
}

Loading…
Cancel
Save