Skip to content

handle commiting when no file change #45

Closed
@Lee-W

Description

@Lee-W

In cz-cli, if we run git cz without any file change, we'll get the message "No files added to staging! Did you forget to run git add?".

However, in cz c, we can still run the whole process.
The git commit is not actually created.

Screen Shot 2019-11-08 at 5 53 05 PM

Maybe we can detect file change like cz-cli? Or, at least we could let the user know that this commit is not actually created.

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