小编Rya*_*n W的帖子

尝试签名提交时,IntelliJ无法提交更改(GPG)

我一直在设置我的开发环境,所以当我创建一个提交时,它会自动由GPG签名.我在这里关注了Githubs的文档:https://help.github.com/categories/gpg/ .

我试图使用IntelliJ的git接口来创建一个提交,但它始终失败并出现此错误.

gpg: cannot open `/dev/tty`: Device not configured
error: gpg failed to sign the data
fatal: failed to write commit object
Run Code Online (Sandbox Code Playgroud)

我直接从我的终端使用git时没有遇到这个错误,我发现有人遇到类似问题的问题(使用Source Tree)并且提到了一些关于GUI没有弹出来输入密码的问题.我假设这与该问题类似.

我该如何解决这个问题呢?

git github gnupg intellij-idea

19
推荐指数
1
解决办法
3519
查看次数

标签 统计

git ×1

github ×1

gnupg ×1

intellij-idea ×1