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

Gitmoji stages all files during commit phase #51

Closed nicolas-marien closed 7 years ago

nicolas-marien commented 7 years ago

Hello @carloscuesta!

Issue:

I dunno if this is just me doing this, but sometimes I modify several files but wanna commit them appart. So I stage some of them and then I run gitmoji -c. However, during its commit stage, the cli runs git add . and as a consequence all my modified files end up in the current commit.

Not a big deal though 😺

OS: Windows 10 gitmoji-cli -v: 1.5.4 Node version: 8.0.0

Thank you ! :v:

carloscuesta commented 7 years ago

Hey @nico29

By default the client adds all the files, you can disable this feature using the config option :+1:

See gitmoji config

nicolas-marien commented 7 years ago

Missed that ! Sorry !