cz-cli icon indicating copy to clipboard operation
cz-cli copied to clipboard

cz commit error

Open GurdipS5 opened this issue 2 years ago • 1 comments

Hi, This is not an issue, more some help in using this tool.

  1. When I use it to write my commit message, is there anywhere to see my fields for things like "Is this a breaking change?" in my repo? Is that recorded anywhere?

  2. When I run cz commit, I get this error: error: pathspec 'commit' did not match any file(s) known to git

Thanks!

GurdipS5 avatar Nov 26 '23 02:11 GurdipS5

  1. Yes, in the CLI questions, there is a step which asks, are there breaking changes. You can also see commit messages in SourceTree or any git manager — there will be some mention of "breaking changes" in commit message string.
  2. You probably forgot to stage/add something first — remember, it is a fancy equivalent of git commit — first stage something, then call this CLI

@GurdipS5 if this solves your question, please consider closing this issue

revelt avatar Feb 28 '25 09:02 revelt