docs/cli/bootstrap/dotfiles/add.md
mise bootstrap dotfiles addmise bootstrap dotfiles add [FLAGS] <TARGET>…src/cli/dotfiles/add.rsAdd or update dotfiles in [dotfiles]
If the target is already managed, this updates its source from the live
target. Otherwise it creates a [dotfiles] entry and seeds the source
under dotfiles.root unless --source is provided.
<TARGET>… — Targets to add or update-f --force — Overwrite existing sources without prompting-g --global — Write to the global config-l --local — Write to the local config instead of the global config-m --mode <MODE> — Dotfile mode to write-n --dry-run — Print the config/source updates without writing anything--no-apply — Add the entry without applying it-p --path <PATH> — Write to this config file or directory-s --source <PATH> — Source path to use for a single target-y --yes — Skip the confirmation prompt-h --help — Print helpExamples:
mise bootstrap dotfiles add ~/.zshrc
mise bootstrap dotfiles add --mode copy ~/.config/starship.toml
mise bootstrap dotfiles add --source dotfiles/gitconfig ~/.gitconfig