commitizen / commitizen/cz-cli

git commit not returning to prompt

未关闭
#809 9 条评论 14 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
17.5k
派生
566
平均合并
8 小时 16 分钟
30 天内合并 PR
1

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。