Within my master branch, I did a git merge some-other-branch locally, but never pushed the changes to origin master. I didn\'t mean to merge, so I\'d like to un
git merge some-other-branch
If you committed the merge:
git reset HEAD~1 # Make sure what you are reverting is in fact the merge files git add . git reset --hard