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
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