How can I view the change history of an individual file in Git, complete details with what has changed?
I have got as far as:
git log -- [filename]
You can also try this which lists the commits that has changed a specific part of a file (Implemented in Git 1.8.4).
Result returned would be the list of commits that modified this particular part. Command :
git log --pretty=short -u -L ,:
where upperLimit is the start_line_number and lowerLimit is the ending_line_number of the file.
More details at https://www.techpurohit.com/list-some-useful-git-commands