Skip to content
Snippets Groups Projects

sg: Add `migration rewrite` command

Merged Warren Gifford requested to merge ef/migration-rewrite into main

Created by: efritz

Partial fix to https://github.com/sourcegraph/sourcegraph/issues/39863. This PR adds an sg migration rewrite command that resets the migrations on-disk of your clone to the canonical version at the given git revision.

Test plan

Tested by hand locally.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading