gitpagergit-log

When I use the "git log" command it is no longer implicitly piping through "less"


Before, I could just type

git log

Now, I have to type:

git log | less

to get the same effect. I haven't (intentionally) changed any parameters. I've checked my global config: "~/.gitconfig" and my project Git config ".git/config" but I can't see anything that would cause this. All of the command parameters seem to be for opting out of this.

Furthermore, none of these work either:

git config --add --global core.pager less
git log

or

GIT_PAGER=less git log

or

PAGER=less git log

Solution

  • "did you try unplugging it and plugging it back in" I opened a new terminal and it stopped happening. I am still super curious though what in that other window's environment could be causing this, so I'll leave it open for awhile and if anyone has any ideas please let me know :)