I'm using git with Sourcetree. I've accidentally fast-forward merge and pushed to remote. Now I want to undo this. I know there is a way like this:
- hard reset to commit before merge
- force push to remote
- remerge
But, i know that hard reset is dangerous. Is there any other way to do this? with steps included.
Thanks