I am facing a problem with one particular Git repo in my local machine. I am using Windows 10. I do not have this problem with other repos. The problem occurs in both pycharm
and in cmd
and seems to be limited to git branch
and git log
commands.
When I run either of these commands I get the following error:
Vim: Warning: Input is not from a terminal
Vim: Error reading input, exiting...
Press ENTER or type command to continueVim: Finished.
Vim: Error reading input, exiting...
Vim: Finished.
From this link I realized that adding the --no-pager
option allows me to circumvent this problem and output the desired result. I checked some items in git config
related to pagers but nothing amounting to solving the problem.
Why does this occur, and what I can do to fix it?