Revert GIT Last push commit

git

Probuse Admin

Start writing here...

Use below commands which will revert pushed last commit:

git reset --hard HEAD@{1}

git push -f


----------------------------------------

git reset --hard 69e073d

git push -f

Note: 69e073d this commit number and it will reset all commits above this.