Git Windows Command Prompt gets stuck during Git commands with (END) Git Windows Command Prompt gets stuck during Git commands with (END) git git

Git Windows Command Prompt gets stuck during Git commands with (END)


Git want to show more than one screen of information to you, to do so it call the standard unix pager program less. Just type q to return to the prompt when you no longer want to navigate in the output.

  • j move one line down
  • k move one line up
  • <space> move one page down
  • b move one page up
  • h show the help

If you want to use git efficiently you should learn the basic unix tools. Even if git build and run on windows it's pretty much an alien software on the platform.

If you don't want less just replace it with another pager in the configuration. If you don't want a pager at all just use cat :

git config --global --add core.pager cat


Press q to exit the pager (which is less in git by default).


I first came across this question when I was looking for the same thing; to not have to exit out of the log command. I have since found the answer I like, so even though it is well after the original asking I will add this answer to provide an additional solution that I didn't find quickly in my own search.

Others have stated why the (END) is present -- the results are being piped thru a pager, one that can be configured for a different pager.

However, I sometimes don't want it to stop at all; because I've specified other options that do the limiting. I found that for this git has a global option --no-pager to turn off the whatever pager is defined in the config file.

This global option is on the git command itself, is available for all subcommands and is placed before the subcommand like this:

git --no-pager log