I merged a pull request(will be referred as PR) in GIT accidentally. Now i want to undo the merge.
7b10185a28e09a74e395099435304852f0bb1a1d is the previous merge commit
5d8f83671ce03b1a3d181ec13e836833afa7b77c is the accidental merge commit
I checked out the branch that i merged the PR.
git checkout dev
git pull
git reset --hard 7b10185a28e09a74e395099435304852f0bb1a1d
git checkout -b my-new-branch
git push origin my-new-branch
and then try raising a PR to dev branch, i dont see any difference. Kindly help.
Thanks in advance