mise dotfiles untrack
- 用法:
mise dotfiles untrack <PATH>… - 效果: 修改状态
- 源代码:
src/cli/dotfiles/untrack.rs
停止跟踪文件或目录
Removes the path's mode = "track" entry from your global config. When a project or system config declares the entry, mise turns it off on this machine in config.local.toml next to your global config instead.
A path inside a tracked directory has no entry of its own: mise adds a rule for it to [history] exclude in the global config, and mise dot include <path> removes that rule. The file itself and its existing checkpoints are not changed.
参数
<PATH>…— 要停止跟踪的路径
标志
-h --help— 打印帮助
Examples
Stop saving ~/.zshrc
mise dot untrack ~/.zshrcExclude one directory inside a tracked directory
mise dot untrack ~/.config/hypr/plugins