gabriel / muse public
feat BREAKING feat/code-migrate #1 / 1
gabriel · 68 days ago · Apr 9, 2026 · Diff

feat: add muse code migrate command

Replaces tools/git2muse.py with a first-class CLI command under muse code.

New: muse/cli/commands/migrate.py - SOURCE positional arg (defaults to CWD) - --target PATH migrate into a separate directory - --branch BRANCH [...] replay specific branches - --all replay every local branch (main first) - --from-ref SHA incremental mode: only commits newer than this SHA - --exclude PATTERN [...] extra exclusion patterns beyond built-in defaults - --no-init skip auto muse-init when target already has .muse/ - --dry-run preview without writing - --verbose log every commit - --json structured JSON report with per-branch stats and elapsed time

Deleted: tools/git2muse.py (superseded) Updated: muse/cli/app.py — import + registration under code_subs

sha256:d357c7e09f9e4872fea93293535d69ac16f1a5e4bb8a9855891091e3aa260c36 sha
sha256:497390822842b6633e173ab07809acf59ddecd2494e570fe032a47eadd97fc5f snapshot
← Older Oldest on feat/code-migrate
All commits
Newer → Latest on feat/code-migrate

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:d357c7e09f9e4872fea93293535d69ac16f1a5e4bb8a9855891091e3aa260c36 --body "your comment"