-
I have some files that I deleted in the source directory, but when I look in the target directory, they're still there. I thought |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
chezmoi only looks at the current state of the source directory, it doesn't know anything about its history, and so can't tell if a file has been removed. To get chezmoi to remove files, you need to create a chezmoi takes particular care to make sure that it only removes files when explicitly requested by the user to reduce the chance of inadvertently deleting files. |
Beta Was this translation helpful? Give feedback.
chezmoi only looks at the current state of the source directory, it doesn't know anything about its history, and so can't tell if a file has been removed.
To get chezmoi to remove files, you need to create a
.chezmoiremove
file.chezmoi takes particular care to make sure that it only removes files when explicitly requested by the user to reduce the chance of inadvertently deleting files.