Git commit failed : Couldn't load public key

Viewed 120

I cannot commit to git . Every time I try it shows this message.

error: Couldn't load public key 632EA751459C3A1A: No such file or directory?

fatal: failed to write commit object

I'm using Gpg4Win.

1 Answers

I believe I resolved my issue, perhaps it is the same for you. For some reason I'd set the gpg.format value to "SSH" in my local Git config.

Simply removing that from my ~/.gitconfig allowed Gpg4Win to resolve the correct location of the key.

Related