commitizen / commitizen/cz-cli

branch diverged and no staged files

Open
#445 0 comments 0 reactions 0 assignees View on GitHub
bug hacktoberfest
Dominant language
JavaScript
Stars
17.5k
Forks
566
Avg merge
8h 16m
Merged PRs (30d)
1

Description

Now the status like this
```bash
$ git status
On branch master
Your branch and 'origin/master' have diverged,
and have 4 and 1 different commits each, respectively.
(use "git pull" to merge the remote branch into yours)
All conflicts fixed but you are still merging.
(use "git commit" to conclude merge)
```
here , I have to use `git commit` instead of `git cz`, because no staged files, the `git cz` will report error `No files added to staging! Did you forget to run git add?`.

But I do not want to use `git commit`, do you have any idea to resolve it?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.