Reply To: How to exit git log or git diff?

Home Forums Git Hub How to exit git log or git diff? Reply To: How to exit git log or git diff?

#3560
Techy Online
Keymaster

You’re in the less program, which makes the output of git log scrollable.

Type q to exit this screen. Type h to get help.

If you don’t want to read the output in a pager and want it to be just printed to the terminal define the environment variable GIT_PAGER to cat or set core.pager to cat (execute git config –global core.pager cat).