mirror of
https://github.com/AGWA/git-crypt.git
synced 2026-01-20 00:31:20 -08:00
Document how to exclude .gitattributes from encryption
This commit is contained in:
6
README
6
README
@@ -153,6 +153,12 @@ sub-directories of dir/. To encrypt an entire sub-tree dir/, use `dir/**`:
|
||||
|
||||
dir/** filter=git-crypt diff=git-crypt
|
||||
|
||||
The .gitattributes file cannot be encrypted, so make sure wildcards don't
|
||||
match it accidentally. If necessary, you can exclude .gitattributes from
|
||||
encryption like this:
|
||||
|
||||
.gitattributes !filter !diff
|
||||
|
||||
|
||||
MAILING LISTS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user