I'm new to Mac, when I use terminal, I found some commands like git log
behaviours different from Linux.
On Linux, they will print result on screen and exit, leave all result on screen and I can see it when I input another command. Screen after running command like this:
$ git log
commit **********
Author: ******
....
$
But on Mac, they will print result to a "new screen", after exit, all result will be cleaned so I can't see the previous result. Screen after running command looks like this:
$ git log
$
Result has been cleared form screen.
Can I change some settings to make it behaviours like linux? Thanks.
$TERM
for both?git
here. If you have similar issues withgrep
(and the answer you get forgit
don't help you to solve them), please ask a new question for this.