Troubleshooting
Repo is not clean
git add -A
git commit -m "Save before encryption"
or
Key Not Trusted
ERROR: GPG key is NOT trusted enough
Fix:
gpg --edit-key <KEYID>
trust
4
quit
Then rerun command.
git-crypt not initialized
gcm setup
git add .gitattributes
git commit -m "Initialize git-crypt"
Encrypted files unreadable
Missing .gitattributes rules
gcm setup
git add .gitattributes
git commit -m "Apply git-crypt attributes"