Created
November 14, 2014 16:09
-
-
Save mlcollard/c858ab8efa9b01476903 to your computer and use it in GitHub Desktop.
ISO Date of first commit to a repository, for all the files in a directory
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
ls . | xargs -I^ bash -c 'echo -n ^; echo -en "\t"; cd ^; git rev-list HEAD | tail -n 1 | xargs -I% git log --date=iso % | grep "Date:" | cut -d":" -f2- | cut -c4- | cut -d"+" -f1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment