Prevent Git From Paging When Not Needed

On some platform / shell combos, you may find Git has gone hog-wild with the paging.  I.e., you may find it pages things like logs & diffs when there is not even a single page of information in the first place.  In this situation, I have found the following Git global config can resolve the issue:

git config --global --replace-all core.pager "less -F -X"

Sharing is caring!

Leave a Comment

Your email address will not be published. Required fields are marked *

Notice: Undefined index: total_count_position in /var/www/wordpress/wp-content/plugins/social-pug/inc/functions-frontend.php on line 46