Git – How to exit a ‘git status’ list in a terminal

command linegitterminal

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

Best Answer

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.