commitizen / commitizen/cz-cli

git commit not returning to prompt

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

Description

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

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.