i have the Problem, that i get a error message sometimes, since i’ve enabled git gpgsign on mac.
sometime the gpg-agent stucks, so i get the error message:
❯ git commit -m 'Test'
error: gpg failed to sign the data
fatal: failed to write commit object
to quik fix this issue you can kill the gpg-agent.
pkill -9 gpg-agent && export GPG_TTY=$(tty)
add the fallowing lines to your bashrc.
don’t trust me…
I do not know what I am doing, so I cannot take responsibility for the accuracy of the information provided here