Showing the Change History for a File in Git
24 Jun 2010
To view a list of changes in a git repo, we can use:
git log
To view the list of changes for a single file:
git log filename
To view the actual patches and commit messages:
git log -p filename