git ls-files with date?

Viewed 2184

On GitHub you have this nice feature on each folder page, it lists the file name along with the age of the last commit to that file. This is similar to the ls -l command.

Is there a way to mimic this behavior from the command line? Something like

git ls-files -l

Based on sjas answer this works for me

ls | while read aa
do
  git log -1 --format="%ai  $aa" "$aa"
done
1 Answers
Related