We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd4df1 commit 1c652e0Copy full SHA for 1c652e0
practices/guides/commit-signing.md
@@ -39,10 +39,11 @@ gpg --armor --export ${my_email_address} | pbcopy
39
git config --global user.email ${my_email_address} # same one used during key generation
40
git config --global user.name ${my_username}
41
git config --global commit.gpgsign true
42
+sed -i '' '/^export GPG_TTY/d' ~/.zshrc
43
echo export GPG_TTY=\$\(tty\) >> ~/.zshrc
44
source ~/.zshrc
45
PINENTRY_BIN=$(whereis -q pinentry-mac)
-sed -i '' '/pinentry-program/d' ~/.gnupg/gpg-agent.conf
46
+sed -i '' '/^pinentry-program/d' ~/.gnupg/gpg-agent.conf
47
echo "pinentry-program ${PINENTRY_BIN}" >> ~/.gnupg/gpg-agent.conf
48
gpgconf --kill gpg-agent
49
```
0 commit comments