Git log: Difference between revisions
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
git log | git log | ||
==Commits of a Specific User== | |||
The following command searches only the current commit's ancestors. | |||
git log --author=ovidiu | |||
Note that "ovidiu" will match longer strings that include it. | |||
==Commit History of an Arbitrary Branch== | ==Commit History of an Arbitrary Branch== |
Revision as of 19:37, 20 November 2019
Internal
Overview
Show commit logs.
Use Cases
Commit History of the Current Branch
git log
Commits of a Specific User
The following command searches only the current commit's ancestors.
git log --author=ovidiu
Note that "ovidiu" will match longer strings that include it.
Commit History of an Arbitrary Branch
The branch does not have to be checked out:
git log develop git log origin/develop