~ 1 min read

Easily Generate Change Set Between Releases Using Git

If you are using Git as your version control system, it can be very helpful in generating the changeset between releases.

First step is to find the last commit where you started the new (or the next) release that you want the changeset for. It can be easily achieved by something like this:

git log --pretty=format:"%h - %an, %ar : %s" | grep "RELEASE: X.X.X"

Then you just do:

git log --pretty=format:"%h - %an, %ar : %s" b9c28fc..

The formatting options can be altered of course. You can find many more options in the "Pretty formats" section in the git log man pages