0

I had some unwanted files in a repo which is going open-source soon. I removed the files using git-filter-branch. I noticed the project size in Gitlab growing with every such removal. Some research suggested that Gitlab has another backup layer, where the data is still in the project, which can be accessed by exporting the project.

Is there a way to just reset the Gitlab storage to what the repo actually contains when being cloned? I'd much prefer not to do these operations again on the project file, since it is prone to data loss.

0

The solution I found in the end is to just create a blank new project, add that to your git remotes and then push to it.

You will have to manually carry over your Issues and probably some other stuff as well. Note that issues can be exported and imported as well, but they loose their comments in the process.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.