gabriel / muse public
feat patch task/switch-command #1 / 1
gabriel · 62 days ago · Apr 14, 2026 · Diff

feat: implement muse switch — focused branch switcher

Cleaner alternative to checkout for branch operations. Delegates to checkout's internal machinery; adds: -c (create), -C (force-create / reset existing branch to HEAD), 'switch -' (previous branch via .muse/PREV_BRANCH), --discard-changes, --detach, --merge, --autostash, --dry-run, --json. 37 TDD tests: flag parsing, PREV_BRANCH helpers, all switch modes, security, stress.

sha256:6a15592f734c7b6517f7d77a04141c438f4f200f05973e4327912f04f65ad299 sha
sha256:a54049666c63009120a14110aea87ea94bbb169ea48e5c11e5764629f6dd32dc snapshot
← Older Oldest on task/switch-command
All commits
Newer → Latest on task/switch-command

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:6a15592f734c7b6517f7d77a04141c438f4f200f05973e4327912f04f65ad299 --body "your comment"