S
S
sorry_i_noob2018-01-31 12:53:12
git
sorry_i_noob, 2018-01-31 12:53:12

The git log command - part of the history was displayed in the console, and then you need to hold Enter so that the rest is displayed. How to withdraw everything at once?

So that you do not have to hold Enter to display the rest.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sly_tom_cat ., 2018-02-01
@sorry_i_noob

paging is provided for many git commands and is often very useful. Therefore, turning it off globally, as latush suggested, is not the best solution ...
If you redirect the output of git log through a pipe to another process or file, then paging will not work.
For example Will output the entire log to the end to the console. A Writes the entire log to the end in a file.

L
latush, 2018-01-31
@latush

git config --global core.pager ''

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question