Hi,
I have 3 branches in my working repo : master, A and B. I intended to create a pull request from B to A, but accidentally created the pull request from B to master and merged.
The pull request contains commits B1, B2 and B3 (actually there were many commits in the pull request which is difficult to handpick). Before the pull request merge, the master was at commit M1. If I look at the commit history in master now, i see the following:
- merge commit ID
- B1
- M1
- B2
- B3
I want to reset the master branch to the M1 commit with all the commits included in the pull request being deleted. Is this possible?
Appreciate your help!
Thanks,
Veena