Skip to content

Commit

Permalink
docs: Add explanation of status characters
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Jan 9, 2024
1 parent cc6844a commit ff3deb9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion assets/chezmoi.io/docs/reference/commands/status.md
Expand Up @@ -5,7 +5,16 @@ similar to [`git status`](https://git-scm.com/docs/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.
difference between the actual state and the target state, and what effect
running [`chezmoi apply`](/apply.md) will have.

| Character | Meaning | First column | Second column |
| --------- | --------- | ------------------ | ---------------------- |
| Space | No change | No change | No change |
| `A` | Added | Entry was created | Entry will be created |
| `D` | Deleted | Entry was deleted | Entry will be deleted |
| `M` | Modified | Entry was modified | Entry will be modified |
| `R` | Run | Not applicable | Script will be run |

## `-i`, `--include` *types*

Expand Down

0 comments on commit ff3deb9

Please sign in to comment.