Skip to content

Handle externally managed files, while also encrypting them. #3828

Answered by twpayne
saharshbhansali asked this question in Q&A
Discussion options

You must be logged in to vote

Then, is there a way I can encrypt and add the files to the repository using the encryption I've already set up in chezmoi but also ignore it while running commands like chezmoi apply?

Yes, you can run

chezmoi apply --exclude=encrypted

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@saharshbhansali
Comment options

@twpayne
Comment options

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