shadowhand / git-encrypt

Transparent Git Encryption
https://gist.github.com/873637
707 stars 82 forks source link

Document how to exclude single files from encryption #28

Closed stigi closed 11 years ago

stigi commented 11 years ago

In the Readme you show how the encrypt all files, one file, or a pattern of files.

Is there a way to encrypt all files but one (i.e. Readme.md)?

shadowhand commented 11 years ago

I think you could do this:

* filter=encrypt diff=encrypt
Readme.md -filter -diff

Check out pattern format and attributes docs.