I had a git accident.
I was working on a local branch "feature1"
I wanted to do "git push not-origin feature1:master"
instead I accidentally did "git push origin feature1:master"
.
It made a lot of mess and made the commits interleave (not that I can just revert a specific commit)
Is there any way to revert this considering I did not have an updated version of master locally so I can't just force push it?
PS: I did not find any way to block pushes to master without upgrading to Enterprise which is to expensive for this eature...