Skip to content

Easily revert deleted files during PR reviews #5513

@jonny-harte

Description

@jonny-harte

When reviewing a Pull Request in VSCode I often find files that have been deleted by mistake and need to undone/restored. At the moment the only way I can find to do so is to create a new file with the same name in the same location and then copy the content from the diff view back into the file and commit and push to undo the change in the PR.

Is there a better way to do this or can a revert option be added when right clicking on the file in the Changes in Pull Request view?

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions