Categories
OS

View file changes on each commit on Git

Recently I needed to view the changes made to a specific file on git, this pretty awesome command will list the changes made on each commit since the beginning of time…even if the file was renamed (I think so):

git log --follow -p filename

Leave a Reply