Forrest logo
back to the git tool

git-shortlog:tldr:c97d4

git-shortlog: View a summary of all the commits made, grouped by the committer identities (name and email).
$ git shortlog -c
try on your machine

The command git shortlog -c is used to generate a summarized changelog of the repository.

Here's what each part of the command means:

  • git: Invokes the git command-line tool.
  • shortlog: Specifies the shortlog subcommand, which shows a summarized view of the commit history.
  • -c: The -c option stands for count. It instructs Git to include a commit count next to each author's name in the summary.

When you run this command, Git will generate a list of authors along with the number of commits made by each author. It provides a high-level overview of the repository activity and the contributions made by different individuals. This summary can be helpful to understand the distribution of work and identify the most active contributors in the project.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the git tool