commitizen / commitizen/cz-cli

git cz just opens the local editor

オープン
#558 コメント 25 件 リアクション 7 件 担当者 0 名 GitHub で見る
released
主要言語
JavaScript
スター
17.5k
フォーク
566
平均マージ
8時間 16分
マージ済み PR(30日)
1

説明

git cz is broken for me.

I wanted to get started but it does not work.

I'm using Windows WSL (ubuntu shell on windows) together with zsh.

This is my gitconfig:

```
[alias]
l = log --graph --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
ls = ls-files
st = status
amend = commit --amend
amendn = ammend --no-edit
diffs = diff --staged
ch = checkout
f = fetch
p = push
c = commit
a = add -p
r = reset -p
aliases = !git config -l | grep alias | cut -c 7-
whois = !sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -
[diff]
tool = meld
[push]
default = simple
[core]
autocrlf = input
[branch]
autosetuprebase = always
```

Even with my gitconfig removed, I get the following:

![cz](https://user-images.githubusercontent.com/2950505/44917736-84598300-ad39-11e8-990c-d13abf2a846b.gif)

Is there a known bug?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

報告された WSL Ubuntu および zsh 環境で、まず提供された gitconfig を使い、次に使わずに、CLI から `git cz` を再現することから始めます。指定されているソースファイルやテストはありません。完了とは、期待される Commitizen のフローではなくローカルエディターが開く理由を特定し、失敗する環境または挙動に対するカバレッジを追加することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
git, javascript, ubuntu, zsh
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。