Imagine a situation where you have 3 branches: master, my_feature, my_feature_fix.
Then the following actions are performed:
my_feature_fix into my_feature.my_feature is merged into master and the branch is deleted.What happens to the open PR of my_feature_fix since my_feature no longer exists?
Tried it out and here's what happens:
my_feature is merged into master and not deleted, the open PR of my_feature_fix into my_feature remains and can still be merged into the existing my_feature branch.my_feature_fix PR is open, the GitHub interface blocks you from deleting the my_feature branch: "You can't delete this branch because an open pull request depends on it."git branch -d my_feature), the open PR of my_feature_fix is automatically closed and labeled as "Closed with unmerged commits."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