I’m using Git 2.7.4. I have the following snippet in my ~/.config/git/config
file:
[interactive]
singleKey = true
However, when I run git add -p
I still have to press enter after having made a choice for a hunk. What could be the cause for this?
According to git-config
documentation interactive.singleKey
option requires the Perl module Term::ReadKey
installed to work properly. Please check if this module is installed on your system and if not, install it using apropriate command. E.g. on linux systems, it would be:
sudo cpan Term::ReadKey
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With