Map a commit author

Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository.

PATCH /repos/:owner/:repo/import/authors/:author_id

Parameters

Name Type Description
email string The new Git author email.
name string The new Git author name.

Example

{
  "email": "hubot@github.com",
  "name": "Hubot the Robot"
}

Response

Status: 200 OK
{
  "id": 2268557,
  "remote_id": "nobody@fc7da526-431c-80fe-3c8c-c148ff18d7ef",
  "remote_name": "nobody",
  "email": "hubot@github.com",
  "name": "Hubot",
  "url": "https://api.github.com/repos/octocat/socm/import/authors/2268557",
  "import_url": "https://api.github.com/repos/octocat/socm/import"
}