How to Undo Mistakes in Git: restore, reset, revert and reflog
Git and CI/CD

How to Undo Mistakes in Git: restore, reset, revert and reflog

Committed too early, to the wrong branch, or deleted something you needed? Here is which Git command undoes what, and how to rescue work you thought was gone.

3 views0 likes0 comments