Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In general, you can do without force push. Of course, this will not be a deletion, but it is safer to
git revert (it seems that git revert HEAD~1 should also work). And then just push.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question