🌐
Git
git-scm.com › docs › git-log
Git - git-log Documentation
Localized versions of git-log manual · English · Français · Português (Brasil) Svenska · українська мова · 简体中文 · Topics ▾ · git · config · help · bugreport · Credential helpers · init · clone · add · status · diff · commit ·
🌐
Atlassian
atlassian.com › git › tutorials › git-log
Advanced Git Log | Atlassian Git Tutorial
January 12, 2026 - You can also pass in the -i parameter to git log to make it ignore case differences while pattern matching. Many times, you’re only interested in changes that happened to a particular file. To show the history related to a file, all you have to do is pass in the file path. For example, the following returns all commits that affected either the foo.py or the bar.py file: ... The -- parameter is used to tell git log that subsequent arguments are file paths and not branch names.
🌐
Git
git-scm.com › book › en › v2 › Git-Basics-Viewing-the-Commit-History
2.3 Git Basics - Viewing the Commit History
Another really helpful filter is the -S option (colloquially referred to as Git’s “pickaxe” option), which takes a string and shows only those commits that changed the number of occurrences of that string. For instance, if you wanted to find the last commit that added or removed a reference to a specific function, you could call: ... The last really useful option to pass to git log as a filter is a path.
🌐
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 - Other flags that can help you filter the commits returned by the command. This tutorial discussed, with reference to examples, how to use git log and the most common flags used with the command. The git log command is an important tool in your arsenal when working with Git.
🌐
freeCodeCamp
freecodecamp.org › news › git-log-command
Git Log Command Explained
January 11, 2020 - What does git log do? The git log command displays all of the commits in a repository’s history. By default, the command displays each commit’s: Secure Hash Algorithm (SHA) author date commit message Navigating Git Log Git uses the Less terminal pa...
🌐
Hatica
hatica.io › blog › git-log-cheatsheet
Git Log Cheatsheet For a Productive 2024 - Hatica
April 24, 2023 - The most basic Git log command is "git log." This command displays the commit history for the current branch, starting with the most recent commit. The output includes the commit hash, author, date, and commit message.
🌐
Devhints
devhints.io › git › git log cheatsheet
git log cheatsheet
The one-page guide to git log: usage, examples, links, snippets, and more.
🌐
Linux Kernel
kernel.org › pub › software › scm › git › docs › git-log.html
git-log(1) Manual Page
August 25, 2025 - This option is assumed if the config value log.initialDecorationSet is set to all. ... Print out the ref name given on the command line by which each commit was reached. ... Use mailmap file to map author and committer names and email addresses to canonical real names and email addresses. See git-shortlog(1).
Find elsewhere
🌐
Linux Man Pages
linux.die.net › man › 1 › git-log
git-log(1): commit logs - Linux man page
Shows the commit logs. The command takes options applicable to the git rev-list command to control what is shown and how, and options applicable to the git diff-* commands to control how the changes each commit introduces are shown.
🌐
W3docs
w3docs.com › learn-git › git-log.html
Git Log - How To Use Git Log | W3Docs Git Tutorial
The git log command shows committed snapshots. It is used for listing and filtering the project history, and searching for particular changes.
🌐
GeeksforGeeks
geeksforgeeks.org › git › how-to-check-git-logs
Git Logs - GeeksforGeeks
1 month ago - Helps track history of a file. Find a commit using full or partial hash. ... Displays matching commit details. Use multiple filters for precise results. git log --author="Alex" --grep="login" --after="2025-09-01"
🌐
Codecademy
codecademy.com › docs › git › log
Git | Log | Codecademy
May 25, 2023 - The example log above shows the different elements that make up a commit, but the most useful is the git hash (f5b5bd8f9eaa443d4020cbe918x742e7ddd22000), which can be used to revert our commit changes using the git revert command.
🌐
Linux Man Pages
man7.org › linux › man-pages › man1 › git-log.1.html
git-log(1) - Linux manual page
The following two commands are equivalent: $ git log A B --not $(git merge-base --all A B) $ git log A...B The command takes options applicable to the git-rev-list(1) command to control what is shown and how, and options applicable to the git-diff(1) command to control how the changes each commit introduces are shown.
🌐
TOOLSQA
toolsqa.com › git › git-log
How to view Commit History in Git using Git Log Command?
Git log is a very important command in this course and your Git learning journey. Git log helps you see the past commits which helps to see who did what in Git and the repository. It helps you track the changes that happened in your repository.
🌐
Unstop
unstop.com › home › blog › git log | a comprehensive guide including all options
Git Log | A Comprehensive Guide Including All Options
October 5, 2023 - The --no-diff-merges option in the Git log can be used to prevent merge commits from showing diffs in the log output. In other words, it disables the output of diffs for merge commits. ... This command line argument will show the log output without the display of merge commits and without diffs for merge commits. The --remerge-diff option helps create a temporary tree object by re-merging two-parent merge commits.
🌐
CraftQuest
craftquest.io › homepage › git version control › 6. git workflow tools › making sense of git log files
Making Sense of Git Log files - Git Version Control | CraftQuest
August 29, 2022 - When we get our log out­put very spe­cif­ic we may want to expand the amount of infor­ma­tion that we’re show­ing there so we the com­mits we’re view­ing are as help­ful as possible. We do that using the -p option to show diffs of the changed files. ... If we keep our com­mits as atom­ic as pos­si­ble then this diff view should be fair­ly easy to manage. Let’s put togeth­er every­thing we’ve learned up to this point with spec­i­fy­ing how our log outputs. $ git log -p --grep="homepage" --before={2015-01-01} --after={2014-11-30} --author=ryan
🌐
Javatpoint
javatpoint.com › git-log
Git Log - javatpoint
The git status command is used to display the state of the repository and staging area. It allows us to see the tracked, untracked files and changes. This command will not show any commit records or information.