Anthony Beckett

Software Engineer, Videographer and Web Designer

How to get the Git log commit messages between two commits

Get the git log commit messages between two commits:

git log --format='%h - %an - %s' a231d20...be12f1d

The commit ID used in the range only needs a few of the initial characters found in the long SHA-1 commit ID to identify the required commits to include.

Next Post

Previous Post

Leave a Reply

© 2021 Anthony Beckett

Theme by Anders Norén