如何将git log输出的信息显示在当前shell中,求解
Tofloor
poster avatar
zk0xc11
deepin
2018-04-30 17:51
Author
本帖最后由 zk0xc11 于 2018-4-30 09:51 编辑

我使用本机的shell时发现这样一个问题,我在用git log 输出内容时,内容会单独显示在一页然后按q退出时就清楚了,有没有办法将git log的内容显示在当前shell中,退出也不清除

Reply Favorite View the author
All Replies
avatar
ExplosiveBattery
deepin
2018-04-30 18:07
#1
我的git是直接从阿里源上apt install
Reply View the author
avatar
ghou
deepin
2018-04-30 18:13
#2
PgUp & PgDn?
Reply View the author
avatar
zk0xc11
deepin
2018-04-30 18:50
#3
https://bbs.deepin.org/post/155861
我的git是直接从阿里源上apt install

你的意思是不同安装源导致的?
Reply View the author
avatar
zk0xc11
deepin
2018-04-30 18:56
#4
https://bbs.deepin.org/post/155861
我的git是直接从阿里源上apt install

我试了一下阿里源上的git但是还是我刚才的那个情况,我觉得可能是shell设置的问题??
Reply View the author
avatar
zouqilin
deepin
2018-04-30 19:00
#5
git --no-pager log
Reply View the author
avatar
zk0xc11
deepin
2018-04-30 22:50
#6

谢谢,这个方法好使
Reply View the author