Skip to content

git cz -a just differently broken now #543

@mysterycommand

Description

@mysterycommand

Hello there, thanks for this project. I've really enjoyed getting changelogs out of my commit messages. I think a recent change to git cz -a (to fix a perhaps over exuberant git add .) has unfortunately just broken things differently. It's late where I am, so I'll have to try and come up with an example repo tomorrow, but I'm currently running into an issue where I get the following output in a terminal:

$ git --version
git version 2.18.0
$ node --version
v8.11.3
$ npm --version
6.2.0
$ git status
On branch feat/whatever
Your branch is up to date with 'origin/feat/whatever'.

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:   src/index.html
        modified:   src/main.css

no changes added to commit (use "git add" and/or "git commit -a")
$ git cz -a
No files added to staging! Did you forget to run git add?
$ git commit -am "feat(html): whatever"
[feat/something-idk 89f79ac] feat(html): whatever
 2 files changed, 2 insertions(+)

So, it seems to me something is still not quite right with the -a flag. Thanks again for your help. I'll be happy to try and test out any steps anyone might recommend for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions