Go back to previous version of the replit project

Hello! how are you? Good afternoon!. I would like to know how I return my project in Replit to a previous version? I accidentally deleted a code and would like to go back to the previous version. My project repository is on github I imported it into replit. Thanks!

link to replit: https://replit.com/@Ana-Carolina120/catadores
link to github: Github

Screenshots, links, or other helpful context:

Thanks!

If you mean that you’re missing a full file: create a new file with the same name and folder location as the file you had lost
Or, if you want to revert to a previous git commit: click on the commit you want to revert to, then copy its “Hash”, then in Shell, type git revert , then do ↑insert to paste the hash, then hit enter. And then:

4 Likes