Reputation: 35
I want to find for my source code file Foo.cpp what all changes has been done in the version tag v3.4.0.
Hope above sentence is good enough to explain my question. actually I have to find all changes in only one file which has been pushed for version tag v3.4.0
Upvotes: 2
Views: 436
Reputation: 36064
To see all the change have been done in a tag for a given file:
git diff <prev_tag_name> <tag_name> <path/to/filename>
git diff v3.3.9 v3.4.0 Foo.cpp
That's it..
Upvotes: 2