We are working on a repository with a fellow programmer which he commits to a separate branch and I on the master.
A few days ago he decided to merge master into his branch but after merging faced some environmental dependency issues and decided to revert that merge. All was well and we kept committing on.
Now that I need to merge his branch into master I'm having difficulties with the revert commit since it's deleting some of the files which I have not changed since that merge.
I think this can be addressed by deleting the said merge and it's revert from the history.
Now the question is how to remove a few commits far back in history?