具体错误内容:
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.
具体错误内容:
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
网友评论