Skip to content

Instantly share code, notes, and snippets.

@alexmuller
Created July 27, 2015 08:56
Show Gist options
  • Save alexmuller/5e5e022ecd9ba8382767 to your computer and use it in GitHub Desktop.
Save alexmuller/5e5e022ecd9ba8382767 to your computer and use it in GitHub Desktop.
Git: list files not recently modified
git ls-tree -r --name-only HEAD | while read filename; do
echo "$(git log -1 --format="%ad" --date=iso -- $filename) $filename"
done | sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment