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.
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
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
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
Useful tricks of git log
This is rad. Thanks for sharing! More on reddit.com
Videos
03:08
Git Log Explained: A Beginner's Guide to Viewing Commit History ...
01:13
Common Git Log Options - YouTube
07:21
8. Git Log made easy! - YouTube
11:25
Git Log Command Explained with Options and Examples | Git Format ...
07:53
🚀 Master Git Log: Filtering & Formatting for Effective Version ...
05:58
Git log options - oneline, graph, stat | Advanced Git - 02 - YouTube
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.
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.
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).
Codecademy
codecademy.com › learn › learn-git-github › modules › introduction-to-git › cheatsheet
[Beta] Learn Git & GitHub: [DO NOT USE] Important Git Operations Cheatsheet | Codecademy
git log --oneline show the list of commits in one line format.
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?".
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(+)