I wanted to view all the commits of a file from the beginning in reverse I ran
git log --reverse [file]
And it worked as expected. but for a
This seems to be known bug in git. The only work around I can see is if you know what the file was named before, pass it along with the current file to the command, i.e.
git log --reverse --follow -- oldfilename currentfilename
Edit: the following will do what you want:
git log --name-only --pretty="format:" --follow | sort -u | xargs git log --reverse --