Hi,
I accidentally pushed something to the Master branch (I really wish there was a safeguard.. Of course I should be more careful, but the whole point of a safeguard is in case you aren't being too careful).
I would like to revert it. When I tried to revert it, I got some error message. Unfortunately I don't have that message, but now there is a new message ahead of my commit that says uncomitted changes (I am using SourceTree). When I try to click revert, it now gives me the error:
error: Reverting is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: revert failed
Could someone please help me with this?