【发布时间】:2016-04-11 19:08:52
【问题描述】:
我一直致力于设置我的开发环境,所以当我创建提交时,它会由 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
直接从终端使用 git 时我没有遇到此错误,我发现有人遇到类似问题(使用源代码树)并提到有关 GUI 没有弹出以输入密码短语的问题。我假设这与那个问题相似。
我该如何解决这个问题?
【问题讨论】:
标签: git github intellij-idea gnupg