sg: Add `migration rewrite` command
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
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.
Tested by hand locally.
Push commits to the source branch or add previously merged commits to review them.