git reflog

If you lost a commit in the sea of commits or accidentally made a commit to a detached HEAD

git reflog

Leave a Reply

Your email address will not be published. Required fields are marked *