Git Log Clears Screen

I’m completely new to Mac and one of the things that kept cropping up was the output of a command showing up and then clearing as soon as I exited it (e.g., git log).

I thought I had slain that dragon with a desperate plea to my Twitter timeline, but …


This content originally appeared on DEV Community and was authored by DEV Community

I'm completely new to Mac and one of the things that kept cropping up was the output of a command showing up and then clearing as soon as I exited it (e.g., git log).

I thought I had slain that dragon with a desperate plea to my Twitter timeline, but I was having to add one for each git command for which I didn't want the behavior. And I'm not even entirely sure blowing away paging entirely even made sense.

pager.branch=false
pager.status=false
pager.diff=false

Finally this morning I happened upon this article from 2014 that had the following suggesting I add it to my .zshrc:

export LESS=-iXFR

Finally it's solved and I could cry happy tears.


This content originally appeared on DEV Community and was authored by DEV Community


Print Share Comment Cite Upload Translate Updates
APA

DEV Community | Sciencx (2021-05-03T14:45:32+00:00) Git Log Clears Screen. Retrieved from https://www.scien.cx/2021/05/03/git-log-clears-screen/

MLA
" » Git Log Clears Screen." DEV Community | Sciencx - Monday May 3, 2021, https://www.scien.cx/2021/05/03/git-log-clears-screen/
HARVARD
DEV Community | Sciencx Monday May 3, 2021 » Git Log Clears Screen., viewed ,<https://www.scien.cx/2021/05/03/git-log-clears-screen/>
VANCOUVER
DEV Community | Sciencx - » Git Log Clears Screen. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/05/03/git-log-clears-screen/
CHICAGO
" » Git Log Clears Screen." DEV Community | Sciencx - Accessed . https://www.scien.cx/2021/05/03/git-log-clears-screen/
IEEE
" » Git Log Clears Screen." DEV Community | Sciencx [Online]. Available: https://www.scien.cx/2021/05/03/git-log-clears-screen/. [Accessed: ]
rf:citation
» Git Log Clears Screen | DEV Community | Sciencx | https://www.scien.cx/2021/05/03/git-log-clears-screen/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.