跳转到内容

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 origin

Connect a repository

mise dot origin set [email protected]:you/dotfiles.git

Disconnect the repository

mise dot origin --remove

Subcommands ​

相关文档 ​