View on GitHub

Devendra's Log

History of file in Git repo

Who changed what, and when, in a file or folder in a Git repo? The following simple command is usually enough

git log --follow -p --decorate=full pathspec

Remove -p option if you don’t want change diff.