Answers for "how to find the oldest files git"

0

how to find the oldest files git

This emits // just a "last edit date" for each file, in an ISO format that sorts nicely.

git ls-tree -r --name-only HEAD | while read filename; do   
   echo "$(git log -1 --date=iso --format="%ad |" -- $filename) $filename"
Posted by: Guest on September-29-2020

Code answers related to "how to find the oldest files git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language