Troubleshooting¶
Repo is not clean¶
git add -A
git commit -m "Save before encryption"
or
git stash
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¶
git-crypt unlock
Missing .gitattributes rules¶
gcm setup
git add .gitattributes
git commit -m "Apply git-crypt attributes"