无法提交和推送Git,因为“无法生成gpg2:没有这样的文件或目录”

问题描述 投票:1回答:1

每次尝试通过命令行提交更改时,我都会收到此错误消息:

error: cannot spawn gpg2: No such file or directory
git git-commit gnupg
1个回答
0
投票

您可以通过将commit.gpgsign设置为false来禁用Git中的GPG提交登录:

git config --global commit.gpgsign false
© www.soinside.com 2019 - 2024. All rights reserved.