The Git Undo Toolkit – Part 2 – How to Undo Staged Changes in Git?
In Part 1 of our Git undo series, we showed how to fix mistakes that are not yet tracked by git, also known as your working directory. But what happens when you have already executed the git add command and git is now tracking your changes and then you realized that you have made a … Read more