mirror of
https://github.com/AGWA/git-crypt.git
synced 2025-12-26 12:50:39 -08:00
Previously, if you had a .gitattributes file in the root of your repository that matched `*`, the files under .git-crypt would also be encrypted, rendering the repository un-decryptable, unless you explicitly excluded the .git-crypt directory, which was easy to overlook. Now, `git-crypt add-gpg-user` automatically adds a .gitattributes file to the .git-crypt directory to prevent its encryption. IMPORTANT: If you are currently using GPG mode to encrypt an entire repository, it is strongly advised that you upgrade git-crypt and then do the following to ensure that the files inside .git-crypt are stored properly: 1. Remove existing key files: `rm .git-crypt/keys/*/0/*` 2. Re-add GPG user(s): `git-crypt add-gpg-user GPG_USER_ID ...`
50 KiB
50 KiB