Git lost all uncommitted changes after it mistakenly checkout –.

  git, question

After being added to the temporary storage area by GitAdd-All, I did not commit it. After that, I executed git reset head operation, and then I executed GitCheck Out-.The operation cleared all the uncommitted data. However, I wanted to clear the changes of another branch, and as a result, all the things I did in the afternoon were gone. Is there any possibility of recovery?

Look at git reflog.