Skip to content

Commit

Permalink
Configure Git attributes filter and diff to use git-crypt setup
Browse files Browse the repository at this point in the history
Ensured to exclude Git specific `.gitattributes` and `.gitignore` files.

Epic GH-33
Depends on GH-35 GH-49
GH-48
  • Loading branch information
arcticicestudio committed Jun 23, 2019
1 parent 955cd7c commit 992dca0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@
# References:
# https://git-scm.com/docs/gitattributes
# https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes#Keyword-Expansion
# https://github.com/AGWA/git-crypt
# https://www.gnupg.org
# https://wiki.archlinux.org/index.php/GnuPG

# Automatically perform line feed (LF) normalization for files detected as text and
# leave all files detected as binary untouched.
* text=auto

# +------------+
# + Encryption +
# +------------+
.gitattributes !filter !diff
.gitignore !filter !diff

0 comments on commit 992dca0

Please sign in to comment.