Skip to content

Git GPG 重置与错误修复

Published: at 08:41 AMSuggest Changes

自从设置了 git 提交签名,出了一堆问题

error: unsupported value for gpg.format: ssh

'git log' failed with code 128:'error: unsupported value for gpg.format: ssh fatal: bad config variable 'gpg.format' in file '/Users/maotianrun/.gitconfig' at line 25

Git err:gpg failed to sign the data; fatal:failed to write commit object
git config --global --unset gpg.program
git config --global --unset user.signingkey
git config --global --unset commit.gpgsign
git config --global --unset gpg.format
git config commit.gpgsign false
git config --global commit.gpgsign false

Previous Post
认识 JavaScript document.all
Next Post
JS 深拷贝补充