cz-cli icon indicating copy to clipboard operation
cz-cli copied to clipboard

editor appears after running the interactive

Open miguelsmuller opened this issue 3 years ago • 3 comments

I'm using a husky hook and I'm having problems.

my file prepare-commit-msg in the husky folder looks like this:

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

exec < /dev/tty && npx cz --hook

miguelsmuller avatar Jul 06 '21 02:07 miguelsmuller

https://user-images.githubusercontent.com/4589909/124663665-c2c80280-de80-11eb-9247-73969244371e.mp4

miguelsmuller avatar Jul 06 '21 20:07 miguelsmuller

i have the same isuue !

mvahedii avatar Jul 26 '22 18:07 mvahedii

ref: https://github.com/commitizen/cz-cli/issues/934#issuecomment-1982811302

git config --local core.editor cat

image

Zhengqbbb avatar Mar 13 '24 15:03 Zhengqbbb