Forrest logo
back to the git tool

git-shortlog:tldr:907f5

git-shortlog: View a summary of all the commits made, grouped alphabetically by author name.
$ git shortlog
try on your machine

The "git shortlog" command is used to generate a summarized log of the commit history in a Git repository. When executed, it displays a list of contributors along with the number of commits they have made, which provides a concise overview of the project's development.

The output of "git shortlog" typically appears as follows:

John Doe (10):
    Commit message 1
    Commit message 2
    ...

Jane Smith (5):
    Commit message 1
    Commit message 2
    ...

...

Here, each contributor's name is indicated, followed by a count of their commits in parentheses. Below each contributor, their corresponding commit messages are listed, showing a brief snapshot of what changes were made.

This command is often used to analyze the project's development and identify who has contributed the most. It can also be helpful for generating changelogs or acknowledgments for releases.

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