mise dotfiles origin
- Usage:
mise dotfiles origin [--remove] [SUBCOMMAND] - Effect: destructive — may delete or irreversibly overwrite
- Source code:
src/cli/dotfiles/origin.rs
Show, connect, or disconnect the origin repository
The origin is a Git repository that shares the history of your tracked files with your other machines. With no subcommand, prints the connected URL, its branch, the config file that declares it, and the sync mode (the history.sync setting). --remove disconnects; local checkpoints and fetched history stay.
See https://mise.jdx.dev/dotfiles/sync.html
Flags
--remove— Disconnect the origin by removing[history.origin]; local checkpoints and fetched history stayEffect: destructive — may delete or irreversibly overwrite
-h --help— Print help
Examples
Show the connected repository
mise dot originConnect a repository
mise dot origin set git@github.com:you/dotfiles.gitDisconnect the repository
mise dot origin --remove