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
You can use only two commands to revert a merge or restart by a specific commit:
git reset --hard commitHash
(you should use the commit that you want to restart, eg. 44a587491e32eafa1638aca7738)git push origin HEAD --force
(Sending the new local master branch to origin/master)Good luck and go ahead!