News for hackers. Stuff that matters.
Re:Ask HN: Is there something like “today X years ago” but f... by brasic on Saturday August 20, 2022 @08:16PM (#32536284)
A fun thing is that the full gitrevisions syntax used by `rev-parse` is supported many places on GitHub where you would normally put an object id or ref name.

For example, https://github.com/git/git/tree/master@{5.years.ago}

Note that this uses the reflog which means that it won’t work in some situations (branch renames, entries rolled off the end of the log, etc)

There are no comments on this comment yet.