fatal: cannot run gpg: No such file or directory

Mar 22, 2019 • 预计阅读时间 1 分钟

After installed GPG Site: https://gpgtools.org/

Git commit with error:

fatal: cannot run gpg: No such file or directory
error: gpg failed to sign the data
fatal: failed to write commit object

Solution:

git config --global gpg.program $(which gpg)

About Signing commits

Make carthage portable

Using xcrun

comments powered by Disqus