Github shows commit on a specific date

I can show / find the list of commits in a specific branch on github like this

https://github.com/username/repository/commits/branch_name

I can also filter by author name, like

https://github.com/username/repository/commits/branch_name?author=author_name

But I'm looking for a way that I can search my commits for a specific date or date range. I tried to find an existing answer, but could not find. I also tried some queries, like before=2016-07-27or after=2016-07-27but this did not work. Any help would be appreciated. thanks in advance

+8
source share
2 answers

In the GitHub REST API v3 documentation for fixing a list in a repository :

GET /repos/:owner/:repo/commits

since until:

+--------+---------+---------------------------------------------------------------+
| Name   |  Type   |                          Description                          |
+--------+---------+---------------------------------------------------------------+
| since  | string  | Only commits after this date will be returned.                |
|        |         | This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. |
| until  | string  | Only commits before this date will be returned.               |
|        |         | This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. |
+--------+---------+---------------------------------------------------------------+

, 2018 github/linguist: https://github.com/github/linguist/commits/master?since=2018-05-31&until=2018-07-01

, , , https://github.com/github/linguist/commits?branch=master&since=2018-05-31&until=2018-07-01, , , .

+5

"" ( fork), , , .

( ). , .

0

Source: https://habr.com/ru/post/1649424/


All Articles