dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Can't commit after installing dotfiles

Open Darvile opened this issue 10 years ago • 2 comments

Hi guys after installing dotfiles I'm not able to commit changes. I'm getting this when I run git commit. git commit -m "Initial commit" error: cannot run gpg: No such file or directory error: could not run gpg. fatal: failed to write commit object

Can anyone help me out?

Darvile avatar Apr 15 '16 04:04 Darvile

You do not have GPG installed. I would highly recommend getting started with that. https://help.github.com/articles/signing-commits-using-gpg/

You can disable it:

git config --global commit.gpgsign false

Tatsh avatar Apr 15 '16 05:04 Tatsh

Thanks @Tatsh that did the trick! I will checkout on the docs later.

Darvile avatar Apr 15 '16 06:04 Darvile