How can i get my code back

So i accidently imported a random github into my bot and i lost all the code is there a way i can get this code back?

my app is called Anchor

I have put hours into this project

You can Rewind your project to the previous state - open Rewind using the two left arrow icon to the side of the logs button in the editor.

1 Like

thank you very much.