What does "~ (END)" mean when displayed in a terminal?

I work in the laboratories of gitimmersion.com, and every time I run the command: git hist --all, it seems like it interrupts the terminal and throws this:

~
~
~
~
(END)

and I can no longer enter commands. So I finish closing this terminal window and start.

Does anyone know why this is happening and how to solve it?

Thank!

+5
source share
2 answers

Git , , , . ~ , , , (.. ).

, q.


, , :

$ git --no-pager hist --all
+7

git help config

  core.pager
       The command that git will use to paginate output. Can be overridden with the GIT_PAGER environment variable.
       Note that git sets the LESS environment variable to FRSX if it is unset when it runs the pager. One can
       change these settings by setting the LESS variable to some other value. Alternately, these settings can be
       overridden on a project or global basis by setting the core.pager option. Setting core.pager has no affect
       on the LESS environment variable behaviour above, so if you want to override git’s default settings this
       way, you need to be explicit. For example, to disable the S option in a backward compatible manner, set
       core.pager to less -+$LESS -FRX. This will be passed to the shell by git, which will translate the final
       command to LESS=FRSX less -+FRSX -FRX.

:

git config --global core.pager cat

-F less , less , .

+2

All Articles