Skip to content

How to update source state #1778

Answered by twpayne
dpetka2001 asked this question in Q&A
Dec 24, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

If you do not remove the file from the source state then chezmoi will re-create in the target directory next time you run chezmoi apply.

To remove a file from both the source state and the target directory you can use chezmoi remove.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dpetka2001
Comment options

@twpayne
Comment options

@dpetka2001
Comment options

Answer selected by dpetka2001
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