I'm running through the gitimmersion.com labs and every time I run a: git hist --all command it seems to break terminal and throw this:
~
~
~
~
(END)
and I'm not able to type any more commands. So I end up closing that terminal window and starting over.
Anyone know why this happens and how to resolve it?
Thanks!
Git pipes long output into what's called a pager by default, which can make it easier to view the output if it doesn't fit on a screen. The ~
characters indicate that those lines were not in the original output, but it's showing them so that you can scroll down past the bottom (i.e. the last line of output can go up to the top of the screen).
You typically can use the arrow keys to scroll up or down, and can exit by pressing q
.
Alternatively, if you don't want the output in a pager, try this:
$ git --no-pager hist --all