Back to Chezmoi

`status`

assets/chezmoi.io/docs/reference/commands/status.md

2.70.21.4 KB
Original Source

status

Print the status of the files and scripts managed by chezmoi in a format similar to git status.

The first column of output indicates the difference between the last state written by chezmoi and the actual state. The second column indicates the difference between the actual state and the target state, and what effect running chezmoi apply will have.

CharacterMeaningFirst columnSecond column
SpaceNo changeNo changeNo change
AAddedEntry was createdEntry will be created
DDeletedEntry was deletedEntry will be deleted
MModifiedEntry was modifiedEntry will be modified
RRunNot applicableScript will be run

Common flags

-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"

-p, --path-style style

--8<-- "common-flags/path-style.md:all"

-r, --recursive

--8<-- "common-flags/recursive.md:default-true"

Examples

sh
chezmoi status