Skip to content

Instantly share code, notes, and snippets.

@catpea
Created September 13, 2020 22:39
Show Gist options
  • Save catpea/0f2de6ed7008a97da6ecbe0b3559cb88 to your computer and use it in GitHub Desktop.
Save catpea/0f2de6ed7008a97da6ecbe0b3559cb88 to your computer and use it in GitHub Desktop.
Print git file creaton dates in ISO 8601 format.
for i in db/*/index.yaml
do
echo "$i:" $(git log --diff-filter=A --follow --format=%aI -1 -- $i)
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment