Skip to content

How to delete branch? #1570

@staticdev

Description

@staticdev

Is it possible to delete a branch by it's name? I did not see that on the docs: https://pygithub.readthedocs.io/en/latest/github_objects/Branch.html

I also did not find a way to delete it while merging a PR and there is an open issue from 2017.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions