I played with the API and was able to find all repositories I ever contributed to, but I struggle to find my very first commit.
What I tried:
{
viewer {
repositoriesContributedTo(first: 100, privacy: PUBLIC, contributionTypes: COMMIT, before: "2013-07-11T00:00:00") {
totalCount
nodes {
nameWithOwner
}
pageInfo {
endCursor
hasNextPage
}
}
}
}
What I got:
{
"errors": [
{
"type": "INVALID_CURSOR_ARGUMENTS",
"path": [
"viewer",
"repositoriesContributedTo",
"nodes"
],
"locations": [
{
"line": 5,
"column": 7
}
],
"message": "`2013-07-11T00:00:00` does not appear to be a valid cursor."
},
{
"type": "INVALID_CURSOR_ARGUMENTS",
"path": [
"viewer",
"repositoriesContributedTo",
"pageInfo"
],
"locations": [
{
"line": 8,
"column": 7
}
],
"message": "`2013-07-11T00:00:00` does not appear to be a valid cursor."
}
]
}
Link to GitHub's GraphQL explorer: https://developer.github.com/v4/explorer/