Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 900
Luis Martins Avatar asked Nov 08 '09 13:11

Luis Martins


2 Answers

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.

like image 164
Carl Smotricz Avatar answered Oct 01 '22 01:10

Carl Smotricz


:q 

that's a less command, actually. It uses the same commands as vi.

like image 41
RageZ Avatar answered Sep 30 '22 23:09

RageZ