Git log: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:


Show [[Git Concepts#Commit|commit]] logs.
Show [[Git Concepts#Commit|commit]] logs.
=Use Cases=
==Commit History of the Current Branch==
git log
==Commit History of an Arbitrary Branch==
The branch does not have to be checked out:
git log develop
git log origin/develop

Revision as of 16:04, 26 September 2019

Internal

Overview

Show commit logs.

Use Cases

Commit History of the Current Branch

git log

Commit History of an Arbitrary Branch

The branch does not have to be checked out:

git log develop
git log origin/develop