Created
April 30, 2020 15:59
-
-
Save alexanderbird/e32ef71931e244b2a577825cb17896fc to your computer and use it in GitHub Desktop.
List the date that each file in the current directory & subdirectories was created. If you run this from the root of a large repo it will take a while.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OIFS="$IFS" | |
IFS=$'\n' | |
for file in `git ls-files`; do | |
echo "$(git rev-list HEAD "$file" | tail -n 1 | xargs git log -n 1 --date=short --pretty=format:%ad) $file" | |
done | |
IFS="$OIFS" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment