Undoing changes with Git

Javier Gr
5 min readNov 15, 2022

A simple guide to undo unwanted commits

Photo by Brett Jordan on Unsplash

When we are working with Git, a good practice is to move our changes between the Git areas. There might be some scenarios where you commit your changes and suddenly realize that those changes are not ready yet. If you have faced that scenario, don’t worry. In this tutorial, we are going to review all the available options to undo our changes in Git like resetting, reverting…

--

--