MhmdRizk
MhmdRizk

Reputation: 1721

Does Deleting a Branch Deletes It's Sub-branches?

I created a branch feature from branch develop, after working on the branch feature, the whole requirement changed, now I need to reset my whole work on this feature but I need to keep a backup.

So I created a branch feature_backup from feature, and I want to delete the feature branch and start all over again with the same branch name.

Does deleting the feature branch (without merging it to the develop branch) deletes it's sub-branch feature_backup ?

Upvotes: 0

Views: 830

Answers (1)

1615903
1615903

Reputation: 34800

No, deleting feature branch does not touch feature_backup branch in any way.

Upvotes: 3

Related Questions