美文网首页
单机多GPG提示gpg failed

单机多GPG提示gpg failed

作者: 李颖轩_LiYingxuan | 来源:发表于2018-03-21 18:34 被阅读12次

具体错误内容:
error: gpg failed to sign the data
fatal: failed to write commit object

具体错误场景:
拥有a和b两个gpg身份,a身份是全局;当使用b身份提交专属项目(配置是项目内的.git/config)时偶尔报错。

找了很多解决方案,最终发现只需要:

git config --list

查看一下信息就可以了。

The end.

相关文章

网友评论

      本文标题:单机多GPG提示gpg failed

      本文链接:https://www.haomeiwen.com/subject/ukcnqftx.html