Too Long; Didn't Read
The most typical git-flow would be: create a new branch, write some code, commit and push changes to the remote repository. But as human beings, we tend to make mistakes. Can you restore a deleted commit on Git? Can You Restore A Deleted Commit on Git?" Dmytro Khmelenko: Can You restore that commit with the command. The lost commit is back with all necessary changes as nothing changed. Voilà! The most common command is git reflog (stands for reference log)
Share Your Thoughts