assets/chezmoi.io/docs/reference/commands/update.md
updatePull changes from the source repo and apply any changes.
If update.command is set then chezmoi will run update.command with
update.args in the working tree. Otherwise, chezmoi will run git pull --autostash --rebase [--recurse-submodules] , using chezmoi's builtin git if
useBuiltinGit is true or if git.command cannot be found in $PATH.
-a, --applyApply changes after pulling, true by default. Can be disabled with --apply=false.
--recurse-submodulesUpdate submodules recursively. This defaults to true. Can be disabled with --recurse-submodules=false.
-x, --exclude types--8<-- "common-flags/exclude.md"
-i, --include types--8<-- "common-flags/include.md"
--init--8<-- "common-flags/init.md"
-P, --parent-dirs--8<-- "common-flags/parent-dirs.md"
-r, --recursive--8<-- "common-flags/recursive.md:default-true"
chezmoi update