Git Tips Slides
PageUp x2: previous · PageDown x2: next · Home: index

Show Changes to a single file

git log foo.txt

... shows you the commits which changes the file.

But it shows you only the commit message. If you want to see the changes which were done, you need to use -p (like patch):

git log -p foo.txt