I have been using Git through the command line (cmd or powershell) for a few weeks now (I’ve been an avid SourceTree user). Everything has been working smoothly until now.
Now when I type
git commit I am presented with what appears to be a blank screen rather than the default vim screen one would normally get where you enter your commit message. I cannot
<esc>:q! out of it. However, if I continue pressing keys on the keyboard those keys eventually show up.
In fact, if I first hit
<esc>:q! and then press a number of random keys the editor eventually pops up and immediately quits as
<esc>:q! is processed.
I have confirmed this behavior with
> git commit and plain old
> vim. If I load vim without plugins via
vim -u NONE and -U NONE I can use vim in the console.
FWIW. Vim, and vim through Git work fine in in the git bash console.
This would appear to be a buffering issue of some sort. How can I resolve this without resorting to reinstalling git? What may have caused this to happen?
- Windows 10 (VM on VirtualBox)
- git version 2.8.0.windows.1
- VIM – Vi IMproved 7.4 (included with Git)