I was trying to merge a branch with my branch, but had merge conflicts.
After seeing the conflicts, I've decided to revert my branch, but am unsure how to do so, as my usual approach of running the following doesnt seem to work to reset my branch
git fetch origin
git reset --hard origin/BRANCH
How can I do this?
Found out you can abort your merge using:
$ git reset --merge
from this similar question/answer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With