mise dotfiles origin
- 用法:
mise dotfiles origin [--remove] [SUBCOMMAND] - 效果: 破坏性操作 — 可能删除或不可逆地覆盖
- 源代码:
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 stay效果: 破坏性操作 — 可能删除或不可逆地覆盖
-h --help— 打印帮助
Examples
Show the connected repository
mise dot originConnect a repository
mise dot origin set [email protected]:you/dotfiles.gitDisconnect the repository
mise dot origin --remove