gpg failed to sign the data fatal: failed to write commit object [Git 2.10.0]

前端 未结 30 2070
难免孤独
难免孤独 2020-11-27 23:55

I followed few articles over the pretty attributes on Git 2.10 release note. Going through which upgraded the git to 2.10.0 and made changes to global .gitconfig

30条回答
  •  误落风尘
    2020-11-28 00:46

    For me, brew had updated the gnupg or gpg so all I had to do to fix this is.

    brew link --overwrite gnupg
    

    That linked the gpg to the right place, as I can confirm via which gpg and everything worked after that.

提交回复
热议问题