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:

Comments

Popular posts from this blog

Run tasks in background in Spring

Conditional field inclusion in Jackson and Spring Boot

How to configure Wildfly 10 to use MySQL