Reputation: 55729
How do I perform a git log for a file showing the changes to the file in a diff like manner?
e.g
git log Foo/Bar.config
Upvotes: 0
Views: 696
Reputation: 1323953
You can try:
git log -p -- afile
From the git log man page:
-p
-u
--patch
Generate patch (see section on generating patches).
Upvotes: 5