How to "reset" everything


I’ve been doing a lot of experimenting and importing between GitLab and Gitea, and would like to basically wipe everything away (all repos) without deleting them one at a time. Is there any way to reset the entire installation somehow (easily)?

If you want to get rid of everything (users, issues, and repos included), then you could drop the database and rm the repos on disk, and then restart gitea. That would be the quickest to destroy all data in Gitea and start from scratch.

Keep the existing config though, cause then after everything is destroyed then Gitea’ll attempt to recreate an empty DB and it’ll be ready to go for new user signup.

Perfect - will try that. Thank you!