Skip to content
Discussion options

You must be logged in to vote

--create sets the create_ attribute on the added file.

The create_ attribute means "create a file with the given contents if the file does not exist. If the file already exists, then do not change its contents." It's for managing files that need an initial state but should not be changed by chezmoi afterwards.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@matmaer
Comment options

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