mise bootstrap dotfiles unapply
- Usage:
mise bootstrap dotfiles unapply [FLAGS] [TARGET]… - Effect: destructive — may delete or irreversibly overwrite
- Source code:
src/cli/dotfiles/unapply.rs
Remove dotfiles applied from [dotfiles]
Removes configured whole-file entries and edits while preserving files mise cannot identify as managed. Modified copies, templates, and plain-line edits require --force. Source files and configuration entries are retained. Run this before deleting a declaration so mise can still identify its targets.
Arguments
[TARGET]…— Only unapply these targets
Flags
-f --force— Remove modified or otherwise ambiguous managed files and lines-n --dry-run— Print the actions that would run without writing anything-y --yes— Skip the confirmation prompt-h --help— Print help
Examples
mise bootstrap dotfiles unapply
mise bootstrap dotfiles unapply ~/.zshrc
mise bootstrap dotfiles unapply --dry-run
mise bootstrap dotfiles unapply --force --yes