DEV Community

Zarar Siddiqi
Zarar Siddiqi

Posted on • Updated on

Easiest way to revert to previous commit without committing

From this answer.

git revert --no-commit 0766c053..HEAD
git commit

Top comments (0)