tags:

views:

48

answers:

2

Hi

I want to do diff between two tags and committed changes between those two tags, Could you please tell me the command?.

Thanks Dhandapani S

+4  A: 
$ git diff tag1 tag2

or show log between them:

$ git log tag1..tag2

A tag is only a reference to the latest commit 'on that tag', so that you are doing a diff on the commits between them.

gauteh
A: 

Hhmmm...There is no 'latest commit on that tag'. A tag is only a reference to a commit.

Stefan Näwe