Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug Report] Some commands won't work if no git repository #206

Closed
Labels
@woile

Description

Description

Commands like cz --help, cz example, cz schema, cz ls and cz version won't work if there's no repository

commitizen version

1.23.0

Steps to Reproduce

Steps to reproduce the behavior:

  1. cd
  2. cz --help
  3. Observe error

fatal: not a git repository (or any of the parent directories): .git

Expected Behavior

Show information when necessary, people may want to see the schema, example, or version at any place.

Actual Behavior

fatal: not a git repository (or any of the parent directories): .git

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /