Skip to content

Add Discard command for Staged file(s) as well #2081

@goran-w

Description

@goran-w

Sometimes I have staged changes, perhaps as a result of some command, which I then decide should be completely undone (i.e discarded). I then find it cumbersome that I have to first Unstage them and only then I'm able to actually Discard them.

This can be rather frustrating, since I then have to re-find the changed file(s) among potentially a long list of other Unstaged changes. Worst case, I may have carefully mult-selected a scattered bunch of Staged files, only to have to re-multi-select this scattered bunch again (now among the Unstaged files).

I therefore would suggest implementing a Discard command for Staged file(s) as well. It would be very convenient, more consistent, and the same confirmation dialog would apply.

Metadata

Metadata

Assignees

Labels

by-designThis is intentionally designed this way.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions