S
S
Sergey Gromov2016-03-21 18:05:28
git
Sergey Gromov, 2016-03-21 18:05:28

Git bash - or or a bug?

When viewing the git log command, some kind of glitch in gitbash starts, I don’t see the text that I enter, but it is clearly entered, and I have to re-open gitbash every race, has anyone encountered this problem?
234a81bfc0a1463ab2621d9a5244970c.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Zagaevsky, 2016-03-21
@reskwer

This is not a glitch, it's like "interactive mode", in it you can move up and down through the history with the arrows. To exit to normal mode, press "q".

A
Alexey Shumkin, 2016-03-22
@ashumkin

as already said, this is not a glitch,
but also not the "interactive mode"
of Git "smart", if you do not redirect the output of its commands anywhere (to a file, pipe'om another tool), then it launches the pagination tool itself (GIT_PAGER or git config core.pager, by default it is less) so that the long output can be scrolled through (the exit from which is just through q; and the colon hints, as it were) )
compare the results of execution
git log > file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question