commitizen / commitizen/cz-cli
branch diverged and no staged files
- 主要言語
- JavaScript
- スター
- 17.5k
- フォーク
- 566
- 平均マージ
- 8時間 16分
- マージ済み PR(30日)
- 1
説明
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?
コントリビューションガイド
調査の方向性
この issue ではファイルもテストも指定されていません。まず、表示されているブランチが分岐してマージ中になっている Git の状態と、`git cz` のエラーを再現し、その後、CLI が staged ファイルなしの merge commit をどのように処理するかを調べてください。完了条件は、この merge commit ワークフローに対する解決策が明確に定義されていることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- git, javascript
- 領域
- cli, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100