Tag Archives: commit

How to undo last commit in git

How to undo last commit in git

In this article lets understand how to undo last commit in git. There are times when we have committed few changes to git but then realized we didn’t need them and had to reset last changes. Manipulating with commit in such situations is a big headache. But if you have understood the git commits it …