Skip to content

Revert a single file changes in a commit #4542

@mirelon

Description

@mirelon

Description

Working on a branch, viewing last commit in Gitlens "Commits".

Entire commit can be reverted:

Image

But when selecing single file changes, I would expect an option to "Revert" changes there.
Currently the options "Apply changes" / "Restore (Checkout)" do not make sense, because I already am on the revision with these changes applied.

Image

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions