History button location

Where is the history button? I accidentally lost a ton of work and i need to know

Replit Profile: https://replit.com/@petonstepens

Do you mean inside of a Repl? If so, try checking the git tab. It has some version history if you previously set up a git repo.

1 Like

It’s really simple!

Just go down to the bottom-right corner of the code tab.

Also, here’s a link to the documentation of File History.

Hope this helps :smiley:

Both files, which took me days to make, were deleted, and I don’t think i canget them back.

If you remember the file names, you can just create a file with the same name, and replit will restore the old content.


For me it didn’t, but i just rewrote a lot of it using a fork that somebody made in the earlier stages. Thanks to @Theprogamer10 for making that fork.

1 Like

Screenshot 2023-05-17 12.54.50
Now It’s giving me this error when I try to run the program.

Do you have a main.py file?

@Firepup650 Yes.
Screenshot 2023-05-17 12.57.44

Interesting. Try opening and editing main.py, then if that doesn’t work, could you please send the contents of your .replit file?

@Firepup650 .replit?
I don’t know what that is.

Got it! It was just upset that main.py was in a folder.

.replit is replit’s configuration file for repls. There’s also replit.nix which controls some ENV variables, and installing OS packages. You must Show Hidden Files to see these files.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.