Im new to Git and Terminal. This is pretty basic stuff, but how can i exit a listing mode generated by the git status command?
If it's less, then no colon (:) is needed. You're thinking if vi!
Carl Smotricz
2009-11-08 13:21:46
yeah, just `q` works
Martinho Fernandes
2009-11-08 13:23:45
both works so .....
RageZ
2009-11-08 13:25:24
sure, I don't get the downvote.
Martinho Fernandes
2009-11-08 13:25:51
they don't like me ... =)
RageZ
2009-11-08 13:27:16
@Jonathan: thanks for the edit
RageZ
2009-11-08 13:29:20
+6
A:
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.
Carl Smotricz
2009-11-08 13:20:48
The pager used by git is selected by `core.pager` configuration variable (if it is set), then GIT\_PAGER enviroment variable, then PAGER environment variable, then `less` as fallback.
Jakub Narębski
2009-11-08 14:49:58
A:
Type 'q' and it will do the job.
Whenever you are at the terminal and have a similar predicament keep in mind also to type 'quit', 'exit' and the abort key combination 'Ctrl + C'.
allesklar
2009-11-08 16:28:51