IntelliJ fails to commit changes when attempting to sign commit (GPG)

被刻印的时光 ゝ 提交于 2019-12-03 04:54:21
phedoreanu

Configure GPG to allow it to be called from a program remotely by adding the following to your gpg.conf:

no-tty

I discovered the cause of this yesterday, and figured I'd post an answer for anyone else who might look at this. It was caused because when it tried to sign the commit, it wanted to open a window asking for my passphrase.

This was the tutorial I followed (specifically the bottom part so it wouldn't ask me in the future for the passphrase). https://github.com/pstadler/keybase-gpg-github

You need to add the following options in your gpg.conf

no-tty

use-agent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!