The output of the branch after `roomgit branch` will be displayed like the more command under Linux. You need to press the Q key again to exit.

git branch the output of the branch will be displayed like the more command under Linux. You need to press Q again to exit
as shown in figure

.

clipboard.png

version information

    $ zsh --version
    zsh 5.3 (x86_64-apple-darwin18.0)
    $ git --version
    git version 2.18.0

    MACOS

this problem does not exist under bash, so solve it.
I have been depressed for a long time, and I still hope that the bosses will not hesitate to give us advice

.
Oct.21,2021

this is the default behavior for git versions later than 2.16.
if you don't want paging output, you can set it:

git config --global pager.branch false



git --no-pager branch

see

https://stackoverflow.com/que.

Menu