Last active
March 28, 2020 19:11
-
-
Save roustem/b61bdff72f39dcb7d078380187a34c6b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Export GPG key to `key.asc` file and then import | |
gpg --import key.asc | |
# or add --pinentry-mode if there is ap problem with entering the password | |
# gpg --import --pinentry-mode loopback key.asc | |
git config --global commit.gpgsign true | |
git config --global user.signingkey E25C1E01F3A98447 | |
git config --global gpg.program /usr/bin/gpg | |
git config --global user.email [email protected] | |
git config --global user.name Roustem | |
# Debugging gpg signing: | |
echo “Test” | gpg --clear-sign |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment