Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Repository.rename_branch method #2089

Merged
merged 1 commit into from Oct 24, 2021

Commits on Oct 23, 2021

  1. Add Repository.rename_branch method

    The GitHub API exposes an endpoint to rename a branch, so we should
    support calling it. Sadly, there is not enough information to add
    that method to the Branch class, so expose it in the Repository object.
    
    Fixes PyGithub#1901
    s-t-e-v-e-n-k committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    191f988 View commit details
    Browse the repository at this point in the history