git log在我的bash上显示跳过的行 [英] git log shows skipped lines on my bash

查看:514
本文介绍了git log在我的bash上显示跳过的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在RHEL的bash上遇到了这个奇怪的git log输出。请参阅下面的内容: $ b

I ran into this strange "git log" output on my bash on RHEL. See below:

commit 9632da8405cb50ef4d4897254869523ee7a8dbb8
Author: AAA BBB <aaa@bbb.com>
Date:   Tue Aug 23 19:47:43 2016 -0700

   Some messages ....

...skipping...
Author: XXXX YYYY <xxx@yyy.com>
Date:   Sun Aug 21 11:18:48 2016 -0700

   Some messages for this hash ...

请参阅...跳过...。我不知道这行是在哪里添加的,以及如何跳过一些提交并被这行代替。任何想法?

See "...skipping...". I don't know where this line is added and how a few commits are skipped and replaced by this line. Any ideas?

推荐答案

因为 git 正在使用 less 作为默认的寻呼机。

Skipping is showing because git is using less as a pager by default.

less 跳过当您手动向上或向下滚动时行。请使用键盘上的向上和向下箭头键。

less "skips" line when you scroll up or down manually. Instead use up and down arrow keys from keyboard.

这篇关于git log在我的bash上显示跳过的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆