I want to override a specific branch that im currently in, in order to override/replace everything from the remote repository server.
If i do git pull
on that branch i always get a merge conflict because both files are changed, and i cant get it merged right (no mergetool) and i want to avoid any commits that are unneccesary, especially from this server becaue its only a preview server.
I edited the file already and add/ commit the file again, but no success.
So i rolled back with git reset --hard <sha1>
to the last real commit.
Hope that wa sok to do so?