I have a situation where two commits past I have reverted changes from another commit, on that revert commit I also committed package.json and package-lock.json, and now I need to get rid of those before I will rebase to master and have my PR approved. How can I achieve that without overnighting currently committed files, I mean without reverting to the commit where I have committed those unwanted files?
Many thanks