News for hackers. Stuff that matters.
Re:Show HN: First Commit – find the first commit of any GitH... by yawaramin on Sunday November 22, 2015 @04:51PM (#10611638)
It's a query of the git commit history. List all commits which are direct or indirect ancestors of the `HEAD` (currently checked-out) commit, and which themselves don't have any ancestors (parents).

Personally, I would have used `master` instead of `HEAD` because any commit in git can be checked out, but `master` is highly likely to be the main line of development and thus be descended from the true first commit of the repository.

There are no comments on this comment yet.