Skip to content

Delete a branch with an open pull request

Previously, GitHub's web UI did not allow deleting a branch that was associated with an open pull request. Now you can delete such a branch from the UI. However, doing so will close all open pull requests associated with the branch. Before the branch is deleted, you must confirm that the pull requests may be closed.

Confirm deleting a branch

Read more about working with branches.

Read more about collaborating with pull requests.

You can now enable Discussions for your organization, which is a place for your organization to share announcements and host conversations that aren't specific to a single repository within
your organization. To get started, go to Organization Settings -> Discussions -> Enable discussions for this organization.

enable org discussions

For more information, see GitHub Discussions documentation.

For questions or feedback, visit GitHub Discussions feedback.

See more

Polls are now available on GitHub Discussions! Polls make it easy for community members to gauge interest, vote, and interact with one another without having to comment. You can also start interacting with polls on our GitHub Mobile apps.

polls

For more information, see GitHub Discussions documentation.

For questions or feedback, visit GitHub Discussions feedback.

See more