sudo gitlab-ctl cleanse

Category: GitLab

sudo gitlab-ctl cleanse

Remove all GitLab data from the server

Deletes the entire GitLab installation state, including databases, repositories, and configuration, leaving the package installed. This is irreversible and wipes every project on the server. Use it only when decommissioning a node after confirming backups.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.