GitBash not outputting to console

后端 未结 2 1599
感情败类
感情败类 2020-12-06 13:02

GitBash suddenly stopped working correctly. I tried uninstalling and reinstalling with no avail.

git commands seem to execute, but doesn\'t show anything in the con

相关标签:
2条回答
  • 2020-12-06 13:38

    That has happened to me a few times in Windows. In each case, this post held the secret.

    In my case, the cursor didn't move, or show my typing onscreen. However, it actually executed the command (if I pressed Enter), even though it looked like I didn't type anything in!

    The solution was to type reset < Enter >

    0 讨论(0)
  • 2020-12-06 13:39

    Try and re-install Git for Windows, possibly through the portable versionl like PortableGit-2.20.0.rc2.windows.1-64-bit.7z.exe (an archive you can uncompress anywhere you want), and a simplified PATH.

    set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\
    set GH=C:\path\to\git
    set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%PATH%
    

    Then check in that session (the one with said simplified path) if the issue persists.

    0 讨论(0)
提交回复
热议问题