I am new to git.
I accidentally deleted all project files from my local machines after running git checkout origin/main
command.
I have checked and could not find the files in the Recycle bin as well. How can I recover those lost files?
I was following a script that I have written when I was learning Git and this was the first time that I tried it on an actual project. Following is the message I receive. Should I run git switch
. If yes, how.
I do not want to do something stupid again and loose whatever I am left with. How can I recover those lost files?