git commit signing failed: secret key not available

前端 未结 9 1613
臣服心动
臣服心动 2020-12-07 12:41

I am getting this error when trying to commit using Git.

gpg: skipped \"name \": secret key not available
gpg: signing failed: secret ke         


        
9条回答
  •  囚心锁ツ
    2020-12-07 13:26

    I had the same problem at it was that git name and email store in .gitconfig were different from the ones of the gpg key provided. I changed them in order to match and it started to work.

提交回复
热议问题