# Configuring The Pager

When you run Git commands that produce a bunch of output, Git will use a pager to present the content starting at the beginning, rather than spitting it all out to the screen at once. This will almost always come in handy for commands like `git-diff` and `git-log`.

By default, Git uses `less` as its pager.

You can also choose to configure it to something else by updating your git config file or by running the following command:

```bash
$ git config --global core.pager 'more'
```

If you'd like to turn the pager off altogether, set it to a blank string.

```bash
$ git config --global core.pager ''
```

[source](https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ploegert.gitbook.io/til/tools/git/configuring-the-pager.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
