Git error - gpg failed to sign data

前端 未结 26 1458
遇见更好的自我
遇见更好的自我 2020-12-07 07:19

I just started using git and I install git and gpg via homebrew. For some reason, I get this error when i do git commit I looked at so many other stackoverflow

26条回答
  •  攒了一身酷
    2020-12-07 07:45

    I had to fix the gpg.program to the absolute path to gpg:

    git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"
    

    I am using Windows with cygwin.

提交回复
热议问题