Book Image

Git Version Control Cookbook

Book Image

Git Version Control Cookbook

Overview of this book

Table of Contents (19 chapters)
Git Version Control Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

The contents of the releases


While extracting information from Git, one of the natural things to do is to generate release notes. To generate a release note, you need all the valid information from the repository between this release and the previous release.

We can utilize some of the methods we have used earlier to generate the data we want.

How to do it...

We start by listing the commits between two tags, v2.3.1.201302201838-r and v3.0.0.201305080800-m7, and then we build on that information:

  1. By using git log with v3.0.0.201305080800-m7.. v3.0.0.201305080800-m7, we will get the commits between the tags:

    $ git log --oneline v2.3.1.201302201838-r..v3.0.0.201305080800-m7
    00108d0 JGit v3.0.0.201305080800-m7
    e27993f Add missing @since tags
    d7cc6eb Move org.eclipse.jgit.pgm's resource bundle to internal package
    75e1bdb Merge "URIish: Allow multiple slashes in paths"
    b032623 Remove unused repository field from RevWalk
    a626f9f Merge "Require a DiffConfig when creating a FollowFilter"
    
  2. As we have a...