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?
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.
`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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With