我无法在 Git 上进行提交。每次尝试提交时,都会显示此消息。
error: Couldn't load public key 632EA751459C3A1A: No such file or directory?
fatal: failed to write commit object
我正在使用 Gpg4Win。
我无法在 Git 上进行提交。每次尝试提交时,都会显示此消息。
error: Couldn't load public key 632EA751459C3A1A: No such file or directory?
fatal: failed to write commit object
我正在使用 Gpg4Win。
我相信我解决了我的问题,也许对你来说也是一样的。由于某种原因,我在本地的Git配置中将gpg.format
值设置为“SSH”。
只需从我的~/.gitconfig
文件中删除该值即可使Gpg4Win找到正确的密钥位置。
git config --global --unset gpg.format
。 - undefined~/.gitconfig
中删除format = ssh
。