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 ace3d12 commit 589342bCopy full SHA for 589342b
practices/guides/commit-signing.md
@@ -41,7 +41,9 @@ git config --global user.name ${my_username}
41
git config --global commit.gpgsign true
42
echo export GPG_TTY=\$\(tty\) >> ~/.zshrc
43
source ~/.zshrc
44
-echo "pinentry-program /opt/homebrew/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
+PINENTRY_BIN=$(whereis -q pinentry-mac)
45
+sed -i '' '/pinentry-program/d' ~/.gnupg/gpg-agent.conf
46
+echo "pinentry-program ${PINENTRY_BIN}" >> ~/.gnupg/gpg-agent.conf
47
gpgconf --kill gpg-agent
48
```
49
0 commit comments