Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Shows files that have not been changed over the last two weeks in a git repo
git diff --name-only --stat @{2.weeks.ago} >> changed.txt && git ls-files >> all.txt && comm -23 all.txt changed.txt >> unchanged.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.