carloscuesta / gitmoji-cli

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

gitmoji -c failed #182

Closed Jeff-Tian closed 5 years ago

Jeff-Tian commented 5 years ago

Hello @carloscuesta!

Issue:

gitmoji -c failed by failed to write commit object.

➜ gitmoji -c
? Choose a gitmoji: 🔧  - Changing configuration files.
? Enter the commit title [15/48]: add prod config
? Enter the commit message: add prod config
? Issue / PR reference:

ERROR: error: gpg failed to sign the data
fatal: failed to write commit object

OS: macOS gitmoji-cli -v: 1.9.2 Node version: v8.11.3

Error Message:

image

QoVoQ commented 5 years ago

Same problem meet.

OS: 4.18.0-16-generic #17~18.04.1-Ubuntu gitmoji-cli -v: 1.9.2 Node version: v10.15.3

carloscuesta commented 5 years ago

Hey @Jeff-Tian this is not an error related with the cli, this is something related with how you set up git comming signing.

If you have not properly disabled signing please take a look at

https://github.com/carloscuesta/gitmoji-cli/issues/48#issuecomment-382331970