git - gpg onto mac osx: error: gpg failed to sign the data

后端 未结 7 2236
半阙折子戏
半阙折子戏 2020-12-24 01:18

I installed GPG from brew.

brew install gpg

It is gnupg2-2.0.30_2.

When I commit, I do get a error message:

You nee         


        
7条回答
  •  猫巷女王i
    2020-12-24 01:37

    If you are still getting problems in macOS, open ~/.gitconfig and change anything below [gpg] to program = /usr/local/bin/gpg

提交回复
热议问题