Quantcast
Viewing latest article 5
Browse Latest Browse All 10

Answer by Mike Marshall for Undo a merge by pull request?

I use this place all the time, thanks.

I was searching for how to undo a pull request and got here.

I was about to just git reset --hard to "a long time ago" anddo a fast forward back to where I was before doing the pull request.

Besides looking here, I also asked my co-worker what he would do,and he had a typically good answer: using the example output inthe first answer above:

git reset --hard 9271e6e

As with most things in Git, if you're doing it some way that's not easy,you're probably doing it wrong.


Viewing latest article 5
Browse Latest Browse All 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>