FG
💻 Software

How to disable the git pager but just for certain commands?

Fresh5 days ago
Mar 15, 202615602 views
Confidence Score0%
0%

Problem

I like having the pager enabled for for example, but not because I have my own visual diff tool that comes up, and I hate having to hit 'q' at the command line after the diff is done with. Is there a way to do this?

Error Output

git log

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to disable the git pager but just for certain commands?

Low Risk

You can set the configuration variable to disable the pager for specific subcommands. See in git-config(1). Leave out if you only want to make this configuration change for the current repository.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment