How to get the commit which was a revert?


Did commit, I wanted to cancel the fact of the commit made
git revert HEAD --no-edit
Was abolished all changes in this commit.

All these changes return back, i.e. return the commit from which you retreated?
Is it possible to cancel the fact of the commit, without touching the changes that were included in it?
June 27th 19 at 15:36
2 answers
June 27th 19 at 15:38
to do another revert
June 27th 19 at 15:40
either hard reset to the commit which you want to go back, but it's not very good, you will have to grind the story i.e. push with the-f flag, better to revert

Find more questions by tags Git