List all files in a folder in a git repository by last commit date
git ls-tree --name-only HEAD foldername/ | while read filename; do echo "$(git log -1 --format="%ci " -- $filename) $filename"; done | sort -r
This lists all the files in a folder, then finds the commit date for them one by one, then sorts them from newest to oldest
git ls-tree -z --name-only HEAD foldername/ | xargs -r0I{} git log -1 --format="%ci {}" -- "{}" | sort -r
A slightly more concise form.<a href=" https://sites.google.com/propertypistol.com/brigade-utopia/home">Brigade Utopia</a>
<a href=" https://sites.google.com/propertypistol.com/brigade-utopia/home">Brigade Utopia</a>
<a href=" https://sites.google.com/propertypistol.com/brigade-utopia/home">Brigade Utopia</a>
<a href=" https://sites.google.com/propertypistol.com/brigade-utopia/home">Brigade Utopia</a>