mise bootstrap dotfiles sync
- Usage:
mise bootstrap dotfiles sync [--fetch-only] [--best-effort] - Effect: modifies state
- Source code:
src/cli/dotfiles/sync.rs
Publish, fetch, and record what is pending now
Fetches the origin branch and publishes the ordinary local commit history. A rejected push fetches again and reconciles without rewriting history. Records incoming changes to apply and conflicts to decide. Live files are never changed here: mise bootstrap dotfiles pull does that. In fetch-only mode nothing is published.
The history watcher does this on its own in sync and fetch-only mode (settings.history.sync); this command is for right now.
Flags
--fetch-only— Fetch without publishing--best-effort— Warn instead of failing when the origin is unreachable-h --help— Print help