Back to Mise

`mise bootstrap dotfiles origin`

docs/cli/bootstrap/dotfiles/origin.md

2026.9.21.7 KB
Original Source
<!-- @generated by usage-cli from usage spec -->

mise bootstrap dotfiles origin

  • Usage: mise bootstrap dotfiles origin [--remove] [SUBCOMMAND]
  • Effect: destructive — may delete or irreversibly overwrite
  • Source code: src/cli/dotfiles/origin.rs

Connect or disconnect the setup repository

set <url> connects the ordinary tracked-file repository to an origin. All committed history becomes eligible for synchronization, including intermediate commits made before connecting. Preview the sync mode and tracked paths before confirming. Encrypted-file policy is checked across every reachable commit; unrelated histories are never replaced. The connection is written to machine-local [history.origin] configuration; the mode is settings.history.sync.

Flags

  • --remove — Disconnect: remove [history.origin] (local checkpoints and fetched refs stay)

    Effect: destructive — may delete or irreversibly overwrite

  • -h --help — Print help

Subcommands

Examples:

mise bootstrap dotfiles origin set https://github.com/you/setup.git
mise bootstrap dotfiles origin set [email protected]:you/setup.git --sync manual
mise bootstrap dotfiles origin              # what is connected
mise bootstrap dotfiles origin --remove
<!-- generated reference navigation -->