carloscuesta / gitmoji-cli

A gitmoji interactive cli tool for using emojis on commits. 💻
https://www.npmjs.com/package/gitmoji-cli
MIT License
4.59k stars 206 forks source link

gpg failed to sign the data #178

Closed dialex closed 5 years ago

dialex commented 5 years ago

Hello @carloscuesta!

Issue:

I tried to make my first commit with gitmoji and I got an error. The commit was not done. If I do a simple git commit -m "stuff" it works. So it's not a git config issue.

gitmoji -c
? Choose a gitmoji: 📝  - Writing docs.
? Enter the commit title [5/48]: stuff
? Enter the commit message: stuff
? Issue / PR reference: 123

OS: gitmoji -v: 1.9.2 Node version: 10.15.3

Error Message:

ERROR: error: gpg failed to sign the data
fatal: failed to write commit object
dialex commented 5 years ago

Maybe related with #48

hartwork commented 5 years ago

And maybe #176 as well

dialex commented 5 years ago

Ok this https://github.com/carloscuesta/gitmoji-cli/issues/48#issuecomment-382331970 was the solution. Run gitmoji -g and disable signing.