Git Product home page Git Product logo

Comments (9)

carloscuesta avatar carloscuesta commented on June 9, 2024 1

Yes totally!

In fact this issue comes from implementing the feature ebce5ff. We have to set a default value for that.

This is something that the cli should handle, thanks for taking your time to report this issue ❤️

By the way this is related with #37

from gitmoji-cli.

carloscuesta avatar carloscuesta commented on June 9, 2024

🤔 Can you try to install the 1.4.0 version to see if you've got the same issue?

from gitmoji-cli.

wayneashleyberry avatar wayneashleyberry commented on June 9, 2024

Same problem with 1.4.0 @carloscuesta :(

Is there perhaps a verbose flag or debug environment variable I could set?

~/src/github.com/wayneashleyberry/wayne.cloud master*
❯ gitmoji -v
1.4.0

~/src/github.com/wayneashleyberry/wayne.cloud master*
❯ gitmoji -c
? Choose a gitmoji: (Use arrow keys)
❯ 🎨  - Improving structure / format of the code.
  ⚡️  - Improving performance.
  🔥  - Removing code or files.
  🐛  - Fixing a bug.
  🚑  - Critical hotfix.
  ✨  - Introducing new features.
  📝  - Writing docs.
(Move up and down to reveal more choices)

~/src/github.com/wayneashleyberry/wayne.cloud master*
❯ gitmoji -c
? Choose a gitmoji: 📝  - Writing docs.
? Enter the commit title: Writing docs.
? Enter the commit message: Just testing out gitmoji.
? Issue / PR reference #:
? Signed commit: Yes
ERROR:

from gitmoji-cli.

carloscuesta avatar carloscuesta commented on June 9, 2024

There's no debug flag but I'm taking a look into it to fix this issue @wayneashleyberry

Before using gitmoji -c did you run gitmoji -i ?

from gitmoji-cli.

wayneashleyberry avatar wayneashleyberry commented on June 9, 2024

Nope, I haven't run gitmoji -i at all.

from gitmoji-cli.

carloscuesta avatar carloscuesta commented on June 9, 2024

Another thing I have in mind, try to run gitmoji -g and answer y to the autoadd question, by default it's set to false. Then try to commit 🤔 @wayneashleyberry

screen shot 2017-04-13 at 15 15 44

from gitmoji-cli.

wayneashleyberry avatar wayneashleyberry commented on June 9, 2024

My changes weren't staged - so there was nothing to commit 🤦‍♂️

I feel like gitmoji should pick that up first maybe? Or maybe a better error message would help.

Git complains about this, and I feel gitmoji should have the same behaviour as it's almost a replacement for git commit

~/src/github.com/wayneashleyberry/wayne.cloud master*
❯ git commit -m 'foo'
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
	modified:   readme.md

no changes added to commit
~/src/github.com/wayneashleyberry/wayne.cloud master*
❯ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   readme.md

no changes added to commit (use "git add" and/or "git commit -a")

~/src/github.com/wayneashleyberry/wayne.cloud master*
❯ git add readme.md

~/src/github.com/wayneashleyberry/wayne.cloud master*
❯ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

	modified:   readme.md


~/src/github.com/wayneashleyberry/wayne.cloud master*
❯ gitmoji -c
? Choose a gitmoji: 📝  - Writing docs.
? Enter the commit title: Writing docs.
? Enter the commit message: Just playing with gitmoji-cli!
? Issue / PR reference #:
? Signed commit: Yes
[master 8718f2f] :memo: Writing docs.
 1 file changed, 2 insertions(+)

from gitmoji-cli.

carloscuesta avatar carloscuesta commented on June 9, 2024

Released 🎉 @ v1.5.1 @wayneashleyberry

from gitmoji-cli.

wayneashleyberry avatar wayneashleyberry commented on June 9, 2024

Thanks for that @carloscuesta :)

from gitmoji-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.