1
GIT提交的GPG签名在终端中运行,但不在Intellij Idea中运行。Intellij IDEA签署GIT提交GPG
gpg failed to sign the data fatal: failed to write commit object
GIT提交的GPG签名在终端中运行,但不在Intellij Idea中运行。Intellij IDEA签署GIT提交GPG
gpg failed to sign the data fatal: failed to write commit object
如果你有工作的GIT的GPG签署犯终端而不是在IntelliJ IDEA的,你可以使用pinentry-mac
。不要忘记更新您的gpg.conf
和gpg-agent.conf
文件。
brew install pinentry-mac
echo "no-tty" >> ~/.gnupg/gpg.conf
echo $(which pinentry-mac) >> ~/.gnupg/gpg-agent.conf
点击此处了解详情:https://nathanielhoag.com/blog/2016/09/05/signing-commits-in-git/