I just switched to a new (already configured) development box.
Now git
behaves differently, with some commands.
Let me try to explain it:
before (on the other machine) when typing
git log
I was getting the list of commits in my terminal. So I could just scroll up and copy/past SHAs as many times as I wanted.now (on the new machine) when typing
git log
I get a new buffer in the terminal, where I'm shown the commits. Now I have to exit/quit the result display pressing Q. After that the buffer is cleared and I come back to the terminal, but I DO NOT have any logged/buffered result in it; so I CAN NOT scroll up to see the result of the command.
To be more clear, now many git
commands (diff
, log
, reflog
, show
, etc.) behave like vim
or man
, where the output of the command is in a separate buffer and the user explicitly needs to exit this view to come back to the shell.
Is that some kind of git
configuration? Maybe a specified default editor? Or maybe is a operative system setting?
I was not able to find information (or the right keywords for searching the information) for solving this issue.