I have created and edited a fork, and submitted a pull request. However, there are many commits on it and I would like to remove some of the irrelevant ones. How do I do this?
I have looked at many other answers (such as this one), but they all address slightly different problems, and as I am new to GitHub I don't know how to put them all together.
Thanks.