Skip to content

Commit 61a8a9e

Browse files
committed
Add script to print formatted commit messages
1 parent 835673b commit 61a8a9e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tools/git/scripts/commit_messages

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Prints commits messages.
4+
#
5+
# <weekday> <month> <day> <time> <year> <author_first> <author_last> <message>
6+
7+
# * `git log`
8+
# - Show the commit message for each commit
9+
git log --format=format:"%ad %aN %s" --date=format:"%a %b %d %T %Y" --reverse --use-mailmap

0 commit comments

Comments
 (0)