Is it possible to git blame
on a files/folders level instead of the "line by line"-level?
The command git blame
usually shows the last commit affecting each line in a given document, but what I'm wondering is whether you get a list of what was the last commit affecting each file. Judging from the options it is not possible to do using git blame
but is there some other command that might do something similar?
EDIT: Ideally I'd like to get a list with the file names where for each file we also get the commit hash, the name of the person who edited the file last as well as the date.
Not sure it suits your needs but
would output the name of the last person having modified the file (or directory).
Edit after comments :
To loop over files of a directory, in a bash context, use
xargs
:...and optionnally, just slightly easier for the eyes with a justified middle column :