Hacker News new | past | comments | ask | show | jobs | submit login

> A while ago, github replaced the pagination on their commits page to be based on a git commit ID instead of a page number. After that change, it made it a lot more difficult to find the oldest commit in a large repo

git log has a reverse option to reverse the order of commits displayed. You can also provide a commit reference like HEAD~10 to get the 10th ancestor from the head commit.

Does Github have a way to specify URL parameters to achieve something similar?




Not on that page, no, but you could easily fetch this information via the GraphQL API.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: