question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider a feature to opt out of `git add .`

See original GitHub issue

Hello @carloscuesta!

https://github.com/carloscuesta/gitmoji-cli/blob/master/src/gitmoji.js#L99

I’m loving this tool though one thing is really bothering me, it’s the fact that when I want to commit gitmoji does a git add . and for me I would like to have the option to opt out of this feature either by passing a flag perhaps?

OS: OSX 10.11.6 gitmoji-cli -v: 1.3.1 Node version: 6.9.5 & 7.4.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
carloscuestacommented, Mar 4, 2017
2reactions
carloscuestacommented, Feb 5, 2017

Hey @sgnl

This is a thing I’ve been considering and I’m thinking to implement a way for configuring the gitmoji-cli, for the things that are done “under the hood” like the git add . or the use of unicode instead of the :emoji format #14.

Probably, something like gitmoji --config that promps and save your preferences into a .config file inside of the ~.gitmoji/ directory that now is being used to store the json of gitmojis, a flag could be an easier option but not that handy.

I’m looking the best way to implement this 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

git-add Documentation - Git
This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit....
Read more >
How do I undo 'git add' before commit? - Stack Overflow
Undo git add for uncommitted changes with: git reset <file>. That will remove the file from the current index (the "about to be...
Read more >
Git Guides - git add - GitHub
The git add command adds new or changed files in your working directory to the Git staging area. git add is an important...
Read more >
Git happens! 6 Common Git mistakes and how to fix them
Whether you added the wrong file, committed directly to master, or some other mishap, we've got you covered.
Read more >
Git Add | Atlassian Git Tutorial
The primary function of the git add command, is to promote pending changes in the working directory, to the git staging area. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found