How to exit a 'git status' list in a terminal?

Luis Martins picture Luis Martins · Nov 8, 2009 · Viewed 206.6k times · Source

I'm new to Git and the terminal. How can I exit a listing mode generated by the git status command?

Answer

Carl Smotricz picture Carl Smotricz · Nov 8, 2009

I have to guess here, but git is probably running its output into your $PAGER program, likely less or more. In either case, typing q should get you out.