git reset to old commit and push without force push

The first thing i tried was naming individual commits, in order, but that caused a conflict somehow. I did newest first but maybe the revert command somehow expects latest first? Anyway what did work is naming a range and that is easier anyhow!

The first search did not work but the second one gave the answer that worked for me.

Courtesy of the command:

git revert --no-commit fb33c7e..HEAD
git commit

For the commit message i wrote “Revert all media-related commits so we can use image to media module” and then credited this command, so it is clear to people what i did.