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

Should Be Refactored Command gitmoji -c #948

Closed aldairandre closed 2 years ago

aldairandre commented 2 years ago

Discussion

Hey guys, I'm sure everyone here loves Gitmoji, who doesn't! Let's get to the actual discussion, first sorry for my bad english. But don't you think the gitmoji -c command should be refactored? Why am I saying this.... [Little history] Today I was working on a small project and editing 3 different files, at some point in my work I decided to send only one file with "gitmoji -c", to my surprise what happened was that the other 2 files I was working on were also committed. Now my point is, folks, don't you guys think the gitmoji -c command should be refactored to just commit only the files that are in the git state area?

Sorry for opening an issue in the wrong rep 😂

Validations

carloscuesta commented 2 years ago

Hey!

You can disable this behaviour by using the configuration command:

👉🏼 https://github.com/carloscuesta/gitmoji-cli#config

Read more about it in the docs 📝