Git add-p will cause input such as y to fail

Asked 2 years ago, Updated 2 years ago, 115 views

I use itterm2 and zsh.

git add-p rarely stops accepting input.

Enter a description of the image here

If you restart iterm or open a new tab, you can enter it on that tab.

Why does this happen?Also, how can I avoid it?

git zsh iterm

2022-09-29 21:32

1 Answers

I don't know the cause, but
ctrl+J can be used instead as a temporary workaround when Enter is no longer working


2022-09-29 21:32

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.