Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 1.48 KB

mapCommitAuthor.md

File metadata and controls

63 lines (46 loc) · 1.48 KB
name example route scope type
Map a commit author
octokit.rest.migrations.mapCommitAuthor({ owner, repo, author_id })
PATCH /repos/{owner}/{repo}/import/authors/{author_id}
migrations
API method

Map a commit author

This method is deprecated.

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

Warning: Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the changelog.

octokit.rest.migrations.mapCommitAuthor({
  owner,
  repo,
  author_id,
});

Parameters

name required description
owneryes

The account owner of the repository. The name is not case sensitive.

repoyes

The name of the repository without the .git extension. The name is not case sensitive.

author_idyes
emailno

The new Git author email.

nameno

The new Git author name.

See also: GitHub Developer Guide documentation.