【问题标题】:error: gpg failed to sign the data fatal: failed to write commit object错误:gpg 未能签署数据致命:未能写入提交对象
【发布时间】:2021-07-18 12:24:58
【问题描述】:

好吧,我已经从 Linux mint cz 中删除了我所有的 gpg 密钥,因为他们在提交到 Github 时遇到了问题。 即使删除那些我仍然得到这些错误。请帮忙 错误:gpg 未能签署数据 致命:无法写入提交对象

【问题讨论】:

    标签: github commit gnupg


    【解决方案1】:

    gpg.program 配置设置为gpg 路径对我有帮助。
    找出gpg路径运行:

    $哪个gpg

    在我的情况下,git-bash 告诉它在路径 /usr/bin/gpg 中,所以我跑了:

    $ git config --global gpg.program /usr/bin/gpg

    【讨论】:

      猜你喜欢
      • 2017-01-22
      • 2021-05-12
      • 1970-01-01
      • 1970-01-01
      • 2017-04-24
      • 2017-05-21
      • 1970-01-01
      • 2019-03-19
      • 1970-01-01
      相关资源
      最近更新 更多