notes of things i learn while watching destroy all software
##das-0001-statistics-over-git-repositories
git rev-list HEAD
-- takes the ref (in this caseHEAD
) and crawling backwards. so the most recent commit will appear first- to reverse (have most recent be first)
git rev-list --reverse HEAD
oldest -> newest
- to reverse (have most recent be first)
xargs
- takes multiline output and joins them with a space
- e.g.
$ echo '1