vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

Add "Discard changes" to Repositories view > Files changed section

Open rdhar opened this issue 2 years ago • 3 comments

Hi, thanks for sharing GitLens -- hard to imagine VS Code without it!

On that note, I'm looking to replace the default "Source Control" view with GitLens's Repositories view instead (to supercharge the whole Git experience). However, from the "Files changed" section, I'm missing frequently-used features like "Discard changes", or even "Open file".

It'd be great to see GitLens implement these on top of the existing "Stage changes" and "Stash all changes" features that already exist to provide feature parity in this space.

image

Cheers, Rishav

rdhar avatar Dec 06 '22 21:12 rdhar

@rdhar Did you intentionally close this?

eamodio avatar Nov 25 '23 05:11 eamodio

Hey @eamodio, that's right. I assumed it wasn't accepted, especially since there're plenty more popular suggestions, so thought best to withdraw my piece of clutter.

To be honest, I'm pleasantly surprised that you made time to respond at all! 😅

rdhar avatar Nov 25 '23 08:11 rdhar

I think it is a very reasonable request, even if it is very unlikely the GL core team will add it anytime soon.

eamodio avatar Nov 25 '23 16:11 eamodio