MAC IDEA 中 Git GPG 签名失败
问题
error: gpg failed to sign the data
fatal: failed to write commit object
解决
需要 xcodebuild 支持
brew install pinentry-mac
echo "pinentry-program $(brew --prefix)/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
xcodebuild 出错
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/