transfer_repo: Transfer a repository

View source: R/repos.R

transfer_repoR Documentation

Transfer a repository

Description

A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original owner, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).

Usage

transfer_repo(owner, repo, new_owner, team_id = NA)

Arguments

owner

The username or organization name that controls the repository.

repo

The name of the repository to transfer.

new_owner

The username or organization name the repository will be transferred to.

team_id

ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories.

References

<https://developer.github.com/v3/repos/#transfer-a-repository>


coatless/ghapi documentation built on Jan. 4, 2024, 4:37 a.m.