Skip to content

Commit

Permalink
docs: fix .chezmoiignore example
Browse files Browse the repository at this point in the history
Fixes #1517
  • Loading branch information
felipecrs authored and twpayne committed Oct 11, 2021
1 parent b4a1774 commit 91c91f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -802,9 +802,10 @@ README.md
*.txt # ignore *.txt in the target directory
*/*.txt # ignore *.txt in subdirectories of the target directory
backups/** # ignore backups folder in chezmoi directory and all its contents
# but not in subdirectories of subdirectories;
# so a/b/c.txt would *not* be ignored
backups/ # ignore backups folder in chezmoi directory and all its contents
backups/** # ignore all contents of backups folder in chezmoi directory
# but not backups folder itself
Expand Down

0 comments on commit 91c91f0

Please sign in to comment.