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

后端 未结 8 1782
心在旅途
心在旅途 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 19:57

    Syntax:

    curl -s https://api.github.com/repos/{:owner}/{:repository} | jq '.created_at'
    

    Example:

    curl -s https://api.github.com/repos/NabiKAZ/video2gif | jq '.created_at'
    

    Result:

    "2017-04-22T22:58:47Z"
    

提交回复
热议问题