Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitBash not outputting to console

Tags:

git-bash

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 console. For instance, I can pull, push, init and it works, but nothing shows on the command line.

git --version doesn't return anything to the console.

However, if I output it to a file with git --version > output.txt, it shows correctly in the file.

Also doesn't show the current branch on the command line. Newly reinstalled. Am I missing some config or is it some windows issues, or something else?

I'm running git version 2.19.2.windows.1 on windows 7.

git --version in the windows command line works fine, but not in GitBash.

like image 352
vvvvv Avatar asked Dec 04 '18 03:12

vvvvv


1 Answers

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 >

like image 102
It'sNotMe Avatar answered Nov 16 '22 09:11

It'sNotMe