like this, I know press q to quit ,but is there a better way to see the result without press q every time I do this
YES, there is a way
You’re in the less program, which makes the output of git log scrollable.
qto exit this screen. Type
hto get help.
If you don't want to read the output in a pager and want it to be just printed to the terminal define the environment variable
git config --global core.pager cat).