TOOL » GIT

Rev list

List commits that are reachable by following the parent links from the given commit.

Usage

shell
git rev-list OPTIONS COMMIT -- PATH
OptionDescription
--countPrint a number stating how many commits would have been listed.
--format=FORMATPrint additional data to each commit.
--since=DATE --after=DATEShow commits more recent than a specific date.
--until=DATE --before=DATEShow commits older than a specific date.
--allList everything as commit hash.
--no-mergesDo not print commits with more than one parent.

Formats

NotationDescription
%ciCommit date
%cnCommitter name
%sCommit message