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
Assuming your local master was not ahead of origin/master, you should be able to do
git reset --hard origin/master
Then your local master branch should look identical to origin/master.
master
origin/master