-
-
Save raven/f535f1ee15f3442994d96b64ee7b57fa to your computer and use it in GitHub Desktop.
If you need to sort files by creation date in git.ex. `find . -name '*ViewModel*' | git-by-date`
This file contains hidden or 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
#!/bin/bash | |
while read f | |
do | |
echo "$(git log --format="%ai" --reverse "$f" | head -n1) $f" | |
done | sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment