How can I retrieve a list of all commit messages in a git repo for a given commit author?
The git log command displays all of the commits in a repository's history.
The most basic and powerful tool to do this is the git log command. By default, with no arguments, git log lists the commits made in that repository in reverse chronological order; that is, the most recent commits show up first.
The git shortlog command is a special version of git log intended for creating release announcements. It groups each commit by author and displays the first line of each commit message.
git log --all --author <author regex>
Easy to work out by reading the documentation. Note that it's a regex, so some characters may need escaped.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With