tags:

views:

92

answers:

3

I want to get a complete list of everyone who has ever committed to a file, is there a command (blame with some arguments, maybe) do that nicely?

Thanks

A: 

Try gitk filename or git whatchanged -p filename.

Byron Sommardahl
+2  A: 
git shortlog -se filename
Dustin
If the file has been renamed or copied, then this command may not catch some commits.
Tim Henigan
+1  A: 

If you are asking about all authors of commits touching given file, then

git shortlog --numbered --summary HEAD --follow <filename>

would be a solution.

Please note however thet the --follow option doesn't always work correctly acros renames in more complicated (less linear) history.

Jakub Narębski