Is it possible to mark a branch as being not deletable after a pull request has been merged in GitHub?
The reason is that we wish to have a long-lived "vNext" branch which will, from time to time, be merged back to master but should not be deleted.
In your project, select the "Settings" tab on the far right of the menu. In the menu on the left hand side of the "Settings" page, select "Branches". Under the "Protected Branches" section, select any branch you wish from force push and deletion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With