How to find the created date of a repository project on GitHub?

后端 未结 8 1784
心在旅途
心在旅途 2021-01-29 19:41

How can I find the created date of a project on GitHub?

Basically, I have to find the first commit to see the created date, however, some projects have 500 commits, whi

相关标签:
8条回答
  • 2021-01-29 20:16

    @nulltoken's answer is very useful. To make it even more convenient, I decided to create a chrome extension for displaying a date of creation of a repository.

    Highlights

    • Beautiful calendar icon in the summary bar on a repository page
    • Customizable date format followed Moment format pattern
    • Best performance by storing all fetched URIs in the Storage

    Date of creation of a repository is displaying on the summary bar:

    Date format is customizable by clicking at the extension icon:

    This's working really well for me. I hope it's useful for you as well.

    0 讨论(0)
  • 2021-01-29 20:17

    how to know the created date of a project on GitHub.

    Use the Repos GitHub API to retrieve this information

    • Syntax: https://api.github.com/repos/{:owner}/{:repository}
    • Example: https://api.github.com/repos/libgit2/libgit2sharp

    The JSON payload will expose a created_at member with the UTC date the repository was created.

    Considering the LibGit2Sharp repository above, one can see that it's been created on Feb, 2nd 2011 at 16:44:49 UTC.

    Note: The created_at won't necessarily reflect the date of the first commit. It's the date the repository has been created on GitHub. For instance, the xunit/resharper-xunit project was recently moved from codeplex to GitHub. The created_at date is 2014-05-01T11:17:56Z, but the most of the commits date back much more farther than that.

    0 讨论(0)
提交回复
热议问题