问题

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/

参考

https://formulae.brew.sh/formula/pinentry-mac

支付宝红包

支付宝

微信

标签: mac, gpg, idea, git

添加新评论

注意:已开启评论过滤器,无中文无法评论!
泡泡表情