TLDR Web Dev · MISCELLANEOUS
EVERY ENGINEER SHOULD UNDERSTAND GIT REFLOG
Summary from the TLDR Web Dev newsletter
Git reflog is a Git command made specifically for navigating the entire history of your Git repo. It’s useful for identifying and fixing any errors in your codebase. This article describes exactly how git reflog works and how you can use it to keep your Git history tidy.