New to the command line here
My title may be a case of classic x/y problem where it describes the attempted solution instead of the problem itself.
Nevertheless, my issue is with git log
where it prints directly into the command line instead of moving into the pager(?) and clearing the screen afterwards with q.
instead of typing this:
git log
I have to type this:
git log | less
I've tried all of the following:
git config --global core.pager less
git config --global core.pager "less"
git config --global --replace-all core.pager "less R"
to no avail.
I tried this as well
export LESS=R
and it worked but only for the current session and did not persist into the next.
Any pointers?
Thank you for your time