Skip to main content

One post tagged with "gpg"

View All Tags

· One min read
Hung Viet Nguyen

git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file - error: cannot run gpg: No such file or directory error: gpg failed to sign the data fatal: failed to write commit object

Answer:

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