🌐
Scaler
scaler.com › home › topics › git › git log --oneline
Git log --oneline - Scaler Topics
May 4, 2023 - Now, you might have got a clear understanding of the git log command. However, the visuals of the commits history which is displayed as output is not much pleasing, and due to that, the result is bulky and it is difficult for the user to read the commit history. To fix that, we can use the --oneline option along with the git log command.
🌐
AlgoMaster
algomaster.io › learn › git › git-log
Git Log | Git | AlgoMaster.io | AlgoMaster.io
January 3, 2026 - You can also filter the log based on several criteria: This shows commits made by "John Smith" only. This retrieves commits from the last two weeks. You can combine options to tailor the output further. For instance, to see a single line summary of commits from a specific author in the last month: For more tailored output, git log supports custom format strings using the --pretty=format: option.
Discussions

What is the difference between git log and git show?
git show is primarily for showing a single commit. It defaults to a verbose display, including the entire diff. It can also show other, non-commit objects. git log is primarily for showing a range of commits. It defaults to only showing the commit message, and can be reduced to one line. Both take similar options for the format. You can, with an appropriate command line, persuade git log to display a single commit with full diff just like git show. More on reddit.com
🌐 r/git
3
7
March 29, 2015
My favorite alias for git log
[alias] lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative More on reddit.com
🌐 r/git
17
108
February 5, 2024
How to set no pager with "git log" when showing just a few entries?
Git has a --no-pager option, so you can set an alias like git slog (short log) for short listings. Alternatively, if you're using less as you pager, you can set it up instead. Put the following in your shell config file: export LESS="${LESS:+$LESS }-X -F" and less will only prompt you on output longer than one screen. More on reddit.com
🌐 r/git
10
3
August 4, 2023
Useful tricks of git log
This is rad. Thanks for sharing! More on reddit.com
🌐 r/git
5
46
June 5, 2020
🌐
Justin Joyce
justinjoyce.dev › home › latest › git log customization
Git log customization | Justin Joyce
October 26, 2023 - The custom log formats all stem from git log’s --pretty option. The --oneline option used above is actually shorthand for git log --pretty=oneline --abrev-commit, where --abbrev-commit shortens the commit hash from 40 characters down to 8.
🌐
Learning-Ocean
learning-ocean.com › tutorials › git › advanced-git-log-options
Git - Advanced Git Log Options Explained - Learning-Ocean
Learn advanced Git log options including filtering by author, searching commits, viewing commit ranges, file stats, and commit graphs.
🌐
Git
git-scm.com › docs › git-log
Git - git-log Documentation
See the description of the --diff-filter option on what the status letters mean. Just like --name-only the file names are often encoded in UTF-8. ... Specify how differences in submodules are shown. When specifying --submodule=short the short format is used. This format just shows the names of the commits at the beginning and end of the range. When --submodule or --submodule=log is specified, the log format is used. This format lists the commits in the range like git-submodule[1] summary does.
🌐
Amit Merchant
amitmerchant.com › how-to-use-git-log-command-efficiently
How to use Git Log command efficiently
June 1, 2022 - When running git log with the --compact-summary option, it will show the condensed summary of file changes for commits without all the diff fluff.
🌐
Atlassian
atlassian.com › git › tutorials › git-log
Advanced Git Log | Atlassian Git Tutorial
January 12, 2026 - For commits with a lot of changes, the resulting output can become quite long and unwieldy. More often than not, if you’re displaying a full patch, you’re probably searching for a specific change. For this, you want to use the pickaxe option. The git shortlog command is a special version of git log intended for creating release announcements.
Find elsewhere
🌐
Elijah Manor
elijahmanor.com › blog › git-log
Git Log Cheatsheet
September 28, 2020 - Oh-My-Zsh comes with a bunch of ... following glol alias expands to git log --graph --pretty=\'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\' which is very similar to glog, but provides some nice color options....
🌐
Jesse Squires
jessesquires.com › blog › 2017 › 08 › 08 › customizing-git-log
Customizing git-log · Jesse Squires
August 8, 2017 - Here’s a comparison (using IGListKit) between the default git log (left) and this new git smartlog (right): ... The default log displays the commit hash, author, date, and full commit message. The result is barely seeing just two commits. By contrast, smartlog displays the 10 most recent commits. Let’s breakdown what’s happening how it corresponds to the options passed to --pretty=format:. The first line contains the abbreviated commit hash (%h) in bold, followed by the full commit hash (%H).
🌐
Career Karma
careerkarma.com › blog › git › git log: how to use it
Git Log: How to Use It: A Step-By-Step Guide | Career Karma
December 1, 2023 - By default, the git log command displays a commit hash, the commit message, and other commit metadata. You can filter the output of git log using various options.
🌐
DEV Community
dev.to › ingosteinke › git-log-p-and-other-useful-git-commands-j84
some useful git commands - DEV Community
February 22, 2022 - git log -p shows the same history plus the detailed diff of the changed files in each commit.
🌐
Conventional Commits
conventionalcommits.org › en › v1.0.0
Conventional Commits
A common workflow for this is to ... proper git commit message for the merge. Reverting code can be complicated: are you reverting multiple commits? if you revert a feature, should the next release instead be a patch? Conventional Commits does not make an explicit effort to define revert behavior. Instead we leave it to tooling authors to use the flexibility of types and footers to develop their logic for handling ...
🌐
Linux Kernel
kernel.org › pub › software › scm › git › docs › git-log.html
git-log(1)
August 25, 2025 - See the description of the --diff-filter option on what the status letters mean. Just like --name-only the file names are often encoded in UTF-8. ... Specify how differences in submodules are shown. When specifying --submodule=short the short format is used. This format just shows the names of the commits at the beginning and end of the range. When --submodule or --submodule=log is specified, the log format is used. This format lists the commits in the range like git-submodule(1) summary does.
🌐
Keep a Changelog
keepachangelog.com › en › 1.1.0
Keep a Changelog
- es-ES translation from [@ZeliosAriex](https://github.com/ZeliosAriex). ## [0.2.0] - 2015-10-06 ### Changed - Remove exclusionary mentions of "open source" since this project can benefit both "open" and "closed" source projects equally. ## [0.1.0] - 2015-10-06 ### Added - Answer "Should you ever rewrite a change log?".
🌐
GeeksforGeeks
geeksforgeeks.org › git › how-to-check-git-logs
Git Logs - GeeksforGeeks
1 month ago - ... Displays commits grouped by author when only a single contributor exists. In multi-developer repositories, lists all contributors with commit counts and messages. Supports multiple options (-s, -n, -e) for customized and structured output.
🌐
Starship
starship.rs › config
Starship: Cross-Shell Prompt
Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and ...
🌐
Git
git-scm.com › book › en › v2 › Git-Basics-Viewing-the-Commit-History
Git - Viewing the Commit History
For example, if you want to see some abbreviated stats for each commit, you can use the --stat option: $ git log --stat commit ca82a6dff817ec66f44342007202690a93763949 Author: Scott Chacon <schacon@gee-mail.com> Date: Mon Mar 17 21:52:11 2008 -0700 Change version number Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 085bb3bcb608e1e8451d4b2432f8ecbe6306e7e7 Author: Scott Chacon <schacon@gee-mail.com> Date: Sat Mar 15 16:40:33 2008 -0700 Remove unnecessary test lib/simplegit.rb | 5 ----- 1 file changed, 5 deletions(-) commit a11bef06a3f659402fe7563abf99ad00de2209e6 Author: Scott Chacon <schacon@gee-mail.com> Date: Sat Mar 15 10:31:28 2008 -0700 Initial commit README | 6 ++++++ Rakefile | 23 +++++++++++++++++++++++ lib/simplegit.rb | 25 +++++++++++++++++++++++++ 3 files changed, 54 insertions(+)
🌐
Hatica
hatica.io › blog › git-log-cheatsheet
Git Log Cheatsheet For a Productive 2024 - Hatica
April 24, 2023 - For example, to view the log since March 1st, 2023, you would use the command "git log --since=2023-03-01." Another useful option is the "--author" option. This option allows you to filter the log output by author.
🌐
GUVI
guvi.in › hub › git-guide › git-log-command
Understanding Git Log Command
When used without any additional flags or options, the Git Log command will output the commit hash, the author name and email, the date and time when the commit is made, and the message associated with the commit.