Once I used sudo vim to write and save a hidden file(like .gitignore).
after that, I happened to use git log
, and the result is:
enter image description here
Nothing else appears in the terminal, no scroll allowed.
And the second:
I ran git branch -r
, and the result is:
enter image description here enter image description here: when I scrolled terminal screen.
This looks quite like vim editor, like the only way to 'END' that is typing 'q'.
and the Third:
I used brew update
, but terminal doesn't show any progress on the screen and
enter image description here
all the progress was showing on this bar.
How can I rollback my terminal to normal? Same thing happens in VScode also.