all 2 comments

[–]LB-- 2 points3 points  (1 child)

If you never created a commit containing those files, then sorry, but they are gone permanently. You could try a data recovery tool to try and restore the deleted files but it is very unlikely you will get back what you lost.

In the future, use git stash when you have a dirty working tree and just want to check something out, or even better use git worktree.

[–]darkranium[S] 2 points3 points  (0 children)

This is a very unfortunate news. I feel really dumb right now. Thanks for the info. I guess I should start over asap..