Skip to content

Commit

Permalink
docs: Add note about add --force command as an alternative to re-add
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Nov 20, 2022
1 parent ca13b9d commit 8a9399b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/chezmoi.io/docs/reference/commands/re-add.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Re-add all modified files in the target state. chezmoi will not overwrite
templates, and all entries that are not files are ignored.

!!! hint

If you want to re-add a single file uncondtionally, use `chezmoi add --force` instead.

!!! example

```console
Expand Down

0 comments on commit 8a9399b

Please sign in to comment.