---
title: "List the latest files to change in a git repo"
date: 2020-10-08
published: false
tags:
  - git
template: blog-post
---


```bash
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
```
