List the latest files to change in a git repo Waylon Walker Author October 8, 2020 Copy this post URL Rich Markdown Text View Markdown View Text curl .ansi while read file; do echo $(git log --pretty=format:%ad -n 1 --date=raw -- $file) $file; done < <(git ls-tree -r --name-only HEAD | grep static/stories) | sort -r | head -n 3 | cut -d " " -f 3 Share this post Twitter Bluesky LinkedIn WhatsApp Facebook Telegram Pinterest Reddit Hacker News Email Copy link