danielhpavey.uk

Show History of Changes to Specific File with Git

I am always having to google this to find the correct command.

I often need to see a history of changes to a specific file.

The best command I have found for this so far is:

git log -p [filename]

Simples...

Date: Tuesday 6th March 2018