I reverted to an older commit in order to discard some changes that had been made from a certain point.
Then I made my changes on top of those, and ended up with a detached HEAD situation.
The commit history looks as follows:
In hindsight, I am not sure whether I did the right thing. (I think I just checked out the older commit and worked on top of that).
From here, all I want is to make my latest commit the new master. I don't care about keeping the other commits.
What is the easiest way to make my new commit the master and update it like that remotely? (I'm not sharing the repository with anyone else, so no-one else is impacted).