Skip to content

Add `gdk reset-data` command

Mark Chao requested to merge 861-reseed into master

What does this Merge Request do?

Add a reset_data command, which removes database/repository/upload files, and create and seed a new database.

$ gdk reset-data
⚠️  WARNING: We're about to remove PostgreSQL data, Rails uploads and git repository data.
⚠️  WARNING: Backups will be made in '/Users/ash/src/gitlab/gitlab-development-kit/.backups', just in case!
Are you sure? [y/N]:

Merge Request checklist

  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.

Closes #861 (closed)

Edited by Ash McKenzie

Merge request reports