I made a small commit and pushed it to our main branch in Azure DevOps. I realized that this commit was obsolete, as it was based on wrong assumptions and miscommunication with my colleague, who made that last commit to the main.
However, I decided to revert my commit via a pull request, but I must have done it wrong. I reverted that revert and I am basically back to the status of my original commit – which in a next step I would revert again (this time “right”).
So the code base and all files would be fine in the main branch afterwards, it’s just that our Azure DevOps history looks quite ‘messy’. E.g. the commit line (graphical representation of commits with lines and dots).
I am quite aware that one of the purposes of using Git is full transparency, but we are a small team and communicate very open and agreed, that if possible we would like to get rid of that little ‘intermezzo’ of mine, if possible.
Is there any way to achieve this?