1 posts in total

Git

Posts tagged

git: revert an updated file

by Syed Aslam · 2 min read

This is one hard to find out there so here it is. How to remove an updated file from a pull request whose content is changed but is out of the scope for this pull request. Now you want to remove the file from the pull request without deleting the file itself, not delete the file itself, but just revert the inclusion of this file in the pull request because, if you delete the file, then that deletion becomes part of your changeset, which is not what you wanted at all.