Posts

Showing posts from October, 2017

Get commits between two tags in Git

We often need to get commits between two git tags. For example, we want to prepare a release note. So we want to get the commit messages between the two release tags. Here is the command to do this: git log --pretty=oneline tagA...tagB # three dots Example: git log --pretty=oneline v3.9.0...v3.9.1 Source:  https://stackoverflow.com/questions/5863426/get-commit-list-between-tags-in-git