I merged a pull request accidentally in github but it needs some changes how can I revert the pull request in github to add those changes that I want. Thank you.
CodePudding user response:
CodePudding user response:
The best thing to do would be to simply make a new PR with the changes you want to make, as no matter what you do, the "bad" PR will always be a part of the git history. That being said, follow Vertexwhan's answer if you really want to revert the merge, but keep in mind that you will not be able to re-merge the same branch later on.