0

Is there any way to delete the published branch without creating a pull request and merging it into the default branch on the GitHub console.

One way I know is to create a pull request and then close it, then I am able to delete that branch.

Edit :- I could not find exisiting question on SO with below conditions -

  1. How to delete branch without raising pull request.
  2. How to do it on GitHub website.

Thanks.

developerick
  • 3,164
  • 4
  • 35
  • 43

1 Answers1

0

Just found a solution for this.

Click on the branches tab shown below -

enter image description here

Delete your published banch from the list -

enter image description here

Dharman
  • 26,923
  • 21
  • 73
  • 125
developerick
  • 3,164
  • 4
  • 35
  • 43