commitizen / commitizen/cz-cli

git commit not returning to prompt

Aberta
#809 9 comentários 14 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
17.5k
Forks
566
Merge médio
8h 16min
PRs com merge (30d)
1

Descrição

After running `git commit` and going through the interactive prompts, commitizen doesn't return to prompt. Instead it puts me into vim and am forced to exist with `:qa`.

I'm using the husky method:
```
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
}
}
```

My environment:
OSX: 10.15.7
Yarn 1.22.10
Node 12.20.1
NPM 6.14.10
commitizen: 4.2.3
cz-conventional-changelog: 3.3.0

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by reproducing the issue with `git commit` and the shown Husky `prepare-commit-msg` hook on the listed environment. Trace the interaction between the hook, commitizen, and Vim; done means the interactive commit flow returns to the shell prompt without opening Vim unexpectedly.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
git, javascript, node.js
Domínio
cli, tooling
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
30/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.