What I'd like to do in my Git repository (specifically GitLab) is to delete all previous commits, preferably also branches that are not main, issues etc, while keeping the current version of files.
I'd like to achieve an effect like I had created a totally new repository, adding the current files as initial ones.
Is it possible to achieve something like this using standard git commands or GitLab / GitLab API?
Thanks for the all answers in advance!