Vscode: Git Stash Apply

Created on 12 Jul 2018  路  6Comments  路  Source: microsoft/vscode

I've attempted to find any other requests for this but didn't seem to see any.

At the moment the CVS context menu shows:
image

Only "Pop latest stash" and "Pop stash..." are visible.

Is it possible to change the default stash behaviour to "apply" rather than "pop"? Additionally, is it possible to add two lines under "Pop stash..." for the same actions, just using apply:

  • Apply latest stash
  • Apply stash...

I just lost a few hours and considerable amount of hair when a popped stash was deleted. I then had to sift through git fsck --lost-found doing git show <shahash> on each dangling commit <shahash>. Having "Apply stash..." easily accessible might be nicer.

feature-request git good first issue help wanted verification-needed verified

Most helpful comment

@lvl99 yeah, just confirmed, Thanks. If I may ask, is there any rule around tagging an issue that is being worked on as it would be multiple efforts if I happen to have started it without anyone's knowledge.
I've been scouting for an issue with no assignee to work on :-(
Thanks for the catch tho!

All 6 comments

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

I suggest to simply add Apply Latest Stash and Apply Stash... commands.

@joaomoreno is anyone working on this, if not, I'll like to pick it up as a newbie vscode contributor

@sa-adebayo looks like it might already be done in #54300

@lvl99 yeah, just confirmed, Thanks. If I may ask, is there any rule around tagging an issue that is being worked on as it would be multiple efforts if I happen to have started it without anyone's knowledge.
I've been scouting for an issue with no assignee to work on :-(
Thanks for the catch tho!

Closed by #54300

Was this page helpful?
0 / 5 - 0 ratings

Related issues

trstringer picture trstringer  路  3Comments

villiv picture villiv  路  3Comments

sirius1024 picture sirius1024  路  3Comments

VitorLuizC picture VitorLuizC  路  3Comments

shanalikhan picture shanalikhan  路  3Comments