Skip to content

How to purge but for target? #1813

Answered by twpayne
latipun7 asked this question in Q&A
Jan 8, 2022 · 1 comments · 3 replies

You must be logged in to vote

You can remove all chezmoi-managed files in the target state with:

$ rm -i $(chezmoi managed)

For the other directories you mention, you can use rm.

Replies: 1 comment 3 replies

You must be logged in to vote
3 replies
@latipun7

@twpayne

@latipun7

Answer selected by latipun7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants