I'm having a project downloaded from the GitHub repository.
When I run the command git log
within this project, it lists all the branches in the project, but I can not get out of the list.
Welcome to less
! A Unix pager that does more things than more
.
You can do a lot of interesting with less
, like searching for a regular expression with / . But if your interest is just getting out of the program, just a q .
This is the same pager you see when querying man
of any program, such as man less
.
As well remembered by @Anderson Carlos Woss , you can configure your pager. And this configuration can be done by repository (not just global).
According to documentation that @hkotsubo has been dug, just set the core.pager
property to make the setting. Read the official documentation .
As a humorous note from programmers:
You can set it [
core.pager
] tomore
or to your favorite pager (by default, it'sless
)
In free translation (translating even the name of the programs):
You can set it [
core.pager
] to plus or to your favorite pager (by default, less )
Hello
CTRL+Z
It can solve your problem. This command suspends the processes in question, to terminate them you can just type q