Git - how do I view the change history of a file

Posted by Richard on Stack Overflow See other posts from Stack Overflow or by Richard
Published on 2008-11-10T15:42:32Z Indexed on 2010/04/09 0:03 UTC
Read the original article Hit count: 212

Filed under:

How can I view the change history of an individual file, complete with what has changed ?

I have got as far as : git log -- filename
which shows me the commit history of the file, but how do I get at the content of each of the changes ?

Thanks - I'm trying to make the transition from MS SourceSafe and that used to be a simple right click / show history.

© Stack Overflow or respective owner

Related posts about git