Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git log shows skipped lines on my bash

Tags:

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

commit 9632da8405cb50ef4d4897254869523ee7a8dbb8 Author: AAA BBB <[email protected]> Date:   Tue Aug 23 19:47:43 2016 -0700     Some messages ....  ...skipping... Author: XXXX YYYY <[email protected]> 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?

like image 533
Bolto Cavolta Avatar asked Sep 08 '16 22:09

Bolto Cavolta


People also ask

What does skipping mean in git log?

Skip option is used in Git Log to skip a number of commits in your Git Log. Let's first see how git log is shown so that the difference is clear to you. Type git log --oneline to see the list of commits.

How do I see my git log history?

`git log` command is used to view the commit history and display the necessary information of the git repository. This command displays the latest git commits information in chronological order, and the last commit will be displayed first.

Does git log show all branches?

Graph all git branchesDevelopers can see all branches in the graph with the –all switch. Also, in most situations, the –decorate switch will provide all the supplemental information in a formatted and nicely color-coded way.


1 Answers

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

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

like image 59
blue112 Avatar answered Sep 20 '22 06:09

blue112