A blog for technology, SEO tips, website development and open source programming.

Git: cannot run gpg: No such file or directory

Need help with the following error Git: cannot run gpg: No such file or directory just check the post and solve it out in simple steps.

***The solution and the steps are only applicable for those who have set up already gpg and signing their commits to git.

Open Terminal – find gpg path on your laptop

~ which gpg

Then you need to edit ..gitconfig

~ nano .gitconfig 

This will open you the .gitconfig press W to write on the file and add the following line:

        program = /usr/local/bin/gpg

click ˄ + X to close the nano editor

Problem solved!

Follow me on Instagram

😉  That’s it for now. 

If you liked this article, then please subscribe to my YouTube Channel for video tutorials.

Leave a Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More